Re: hello

2007-01-16 Thread Nabeel Yoosuf

On 1/16/07, ritu gaud [EMAIL PROTECTED] wrote:


hello,
 thank u very much for ur such useful help, bt i got stucked again,
i am trying to run math.c (math_skeleton.c, math.h) to generate math.exe,
bt this project get compiled successfully, bt while linking gvs me errors
like

math.obj : error LNK2001: unresolved external symbol
[EMAIL PROTECTED]
math.obj : error LNK2001: unresolved external symbol
[EMAIL PROTECTED]
math.obj : error LNK2001: unresolved external symbol
[EMAIL PROTECTED]
math_skeleton.obj : error LNK2001: unresolved external symbol
[EMAIL PROTECTED]
math_skeleton.obj : error LNK2001: unresolved external symbol
[EMAIL PROTECTED]
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/math.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
math.exe - 7 error(s), 0 warning(s)

hv u tried to generate exe? which file shud i include in vc++ project, to
remove above linking errors?



According to the errors, vc++ cannot find the axiom and util libraries. It
seems that either path to axis2 lib is incorrect or not set. In the vc
project check whether you have set the library path to $AXIS2C_FOLDER/lib.

Nabeel.

PS. I am using VC 2005 Express edition, which is available free of charge.

thank you.


Urvashi



*Nabeel Yoosuf [EMAIL PROTECTED]* wrote:

Hi,

If you are using the 0.96 binary distribution, for the time being you can
compile in Linux/Windows with the following steps. (Windows bin release does
not provide assistance on building samples yet, I'll file a JIRA for you.)

In Windows [vc project]
==
download and extract mathvc.zip from [1] to $AXIS2C_FOLDER/samples/client
you'll need to set include path to $AXIS2C_FOLDER/include and set path to
other required libraries listed in the installation guide

This will place the math.exe file inside Debug folder

In Windows [with nmake]
===
download and extract build.zip from [1] to $AXIS2C_FOLDER
you'll need to update $AXIS2C_FOLDER/build/win32/configure.in

vcvars32.bat
nmake axis2_client_math

This will place math.exe in $AXIS2C_FOLDER/bin/samples

In Linux
==
cd $AXIS2C_FOLDER/samples
./configure

This will create the Makefile for each sample.

cd client/math
make

If you are using Windows src distribution, there are VC projects under ide
section.

HTH,
Nabeel.
[1] http://people.apache.org/~nabeel/axis2c/tmp/
http://people.apache.org/%7Enabeel/axis2c/tmp/

On 1/15/07, ritu gaud [EMAIL PROTECTED] wrote:

 hello,
   can plz anyone guide me, how the

   axis2_math_stub.c ,
   math_client.c ,
   math_skeleton.c and
   math.c

   files are used to generate the final exe i.e math.exe ?

   thank you.

   Urvashi
 --
 Here's a new way to find what you're looking for - Yahoo! Answers
 http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/



--
Here's a new way to find what you're looking for - Yahoo! 
Answershttp://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/




RE: How can I create a java client to call axis c++ web service(Calculator)

2007-01-16 Thread yinqiu luo

I solved the issue based on information from

http://issues.apache.org/jira/browse/AXISCPP-111



From: yinqiu luo [EMAIL PROTECTED]
Reply-To: Apache AXIS C User List axis-c-user@ws.apache.org
To: axis-c-user@ws.apache.org
Subject: How can I create a java client to call axis c++ web 
service(Calculator)

Date: Tue, 16 Jan 2007 19:58:41 +


Hi, all,

Please help.

I created axis c++ Calculator service (using axis-c-1.6-Linux-trace-bin) 
and installed it into apache server. I also created a c++ client which 
works well to call axis c++ Calculator service remotly. But I have problem 
to create a java client to call axis c++ Calculator service . I used java 
org.apache.axis.wsdl.WSDL2Java ${AXISCPP}/deploy/wsdls/calculator.wsdl  to 
generate java stubs (axis-1_4).
my service is http://57.4.3.195:80/axis/Calculator;. It is within my co's 
firewall.


All client and server machine are within the firewall.

I have error
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: Webservice failed
faultActor: server name:listen port
faultNode:
faultDetail:
  {}appSpecific:AxisEngineException:Web Service failed

Please help.

regards,
Yinqiu Luo

_
Type your favorite song.  Get a customized station.  Try MSN Radio powered 
by Pandora. http://radio.msn.com/?icid=T002MSN03A07001



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Dave vs. Carl: The Insignificant Championship Series.  Who will win? 
http://clk.atdmt.com/MSN/go/msnnkwsp007001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [axis2]ERROR org.apache.axis2.transport.http.AxisServlet - java.lang.AbstractMethodError

2007-01-16 Thread Deepal Jayasinghe
Hi sreenivas;

Hmm , can you please tell me JDK version , OS and the appserver and it
version that you are running your test cases.

btw , please try to remove your handler and see whether it is working :)

Thanks
Deepal

Thanks Deepal,

But I am getting the Error even before the control
goes to my handler.

I am getting this error during the  phase
name=PreDispatch/
phase. when it is invoking the
AddressingFinalInHandler , it is throwing the
Exception .The DEBUG Trace is shown below. 


54954 [http-9090-Processor24] DEBUG
org.apache.axis2.engine.Phase  - Checking
pre-condition for Phase PreDispatch
54954 [http-9090-Processor24] DEBUG
org.apache.axis2.engine.Phase  - Invoking phase
PreDispatch
54954 [http-9090-Processor24] DEBUG
org.apache.axis2.engine.Phase  - Invoking Handler
'AddressingFinalInHandler' in Phase 'PreDispatch'
54954 [http-9090-Processor24] ERROR
org.apache.axis2.transport.http.AxisServlet  -
java.lang.AbstractMethodError
54954 [http-9090-Processor24] DEBUG
org.apache.axis2.addressing.AddressingHelper  -
isReplyRedirected: FaultTo is null. Returning
isReplyRedirected
54954 [http-9090-Processor24] DEBUG
org.apache.axis2.addressing.AddressingHelper  -
isReplyRedirected: ReplyTo is null. Returning false


Thanks
Sreenivas

I am getting the problem before entering the 
--- Deepal Jayasinghe [EMAIL PROTECTED] wrote:

  

From Axis2 1.0 to 1.1 there was an API change in
handler class , that is
why you are getting this error. Seems you need to
update your java class
to cope with those changes.

Thanks
Deepal

sreenivas velagapudi wrote:



Hi ,

I upgraded from Axis1.0 to Axis1.1. I am getting
  

the


below Exception, when i tried to run my Soap Tests.

Earlier it was working fine with Axis1.0.

Can any body help on this.

27625 [http-9090-Processor25] ERROR
org.apache.axis2.transport.http.AxisServlet  -
java.lang.AbstractMethodError
27625 [http-9090-Processor25] ERROR
  

org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/musicportal].[AxisServlet]


- Servlet.service() for servlet AxisServlet threw
exception
java.lang.AbstractMethodError
at
  

org.apache.axis2.engine.Phase.invoke(Phase.java:381)


at
  

org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:518)


at
  

org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:705)


at
  

org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:305)


at
  

org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:287)


at
  

javax.servlet.http.HttpServlet.service(HttpServlet.java:709)


at
  

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


at
  

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)


at
  

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)


at
  

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)


at
  

org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)


at
  

org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)


at
  

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)


at
  

org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)


at
  

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)


at
  

org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)


at
  

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)


at
  

org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)


at
  

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)


at
  

org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)


at
  

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)


at
  

org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)


at
  

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)


at
  

org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:191)


at
  

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)


at
  

org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)


at
  

org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)


at
  


Re: [axis2]ERROR org.apache.axis2.transport.http.AxisServlet - java.lang.AbstractMethodError

2007-01-16 Thread sreenivas velagapudi
Hi Deepal,
I am using jdk1.5.0_10
operating system:WindowsXP
appserver: apache-tomcat-5.5.20

Thanks
Sreenivas



--- Deepal Jayasinghe [EMAIL PROTECTED] wrote:

 Hi sreenivas;
 
 Hmm , can you please tell me JDK version , OS and
 the appserver and it
 version that you are running your test cases.
 
 btw , please try to remove your handler and see
 whether it is working :)
 
 Thanks
 Deepal
 
 Thanks Deepal,
 
 But I am getting the Error even before the control
 goes to my handler.
 
 I am getting this error during the  phase
 name=PreDispatch/
 phase. when it is invoking the
 AddressingFinalInHandler , it is throwing the
 Exception .The DEBUG Trace is shown below. 
 
 
 54954 [http-9090-Processor24] DEBUG
 org.apache.axis2.engine.Phase  - Checking
 pre-condition for Phase PreDispatch
 54954 [http-9090-Processor24] DEBUG
 org.apache.axis2.engine.Phase  - Invoking phase
 PreDispatch
 54954 [http-9090-Processor24] DEBUG
 org.apache.axis2.engine.Phase  - Invoking Handler
 'AddressingFinalInHandler' in Phase 'PreDispatch'
 54954 [http-9090-Processor24] ERROR
 org.apache.axis2.transport.http.AxisServlet  -
 java.lang.AbstractMethodError
 54954 [http-9090-Processor24] DEBUG
 org.apache.axis2.addressing.AddressingHelper  -
 isReplyRedirected: FaultTo is null. Returning
 isReplyRedirected
 54954 [http-9090-Processor24] DEBUG
 org.apache.axis2.addressing.AddressingHelper  -
 isReplyRedirected: ReplyTo is null. Returning false
 
 
 Thanks
 Sreenivas
 
 I am getting the problem before entering the 
 --- Deepal Jayasinghe [EMAIL PROTECTED] wrote:
 
   
 
 From Axis2 1.0 to 1.1 there was an API change in
 handler class , that is
 why you are getting this error. Seems you need to
 update your java class
 to cope with those changes.
 
 Thanks
 Deepal
 
 sreenivas velagapudi wrote:
 
 
 
 Hi ,
 
 I upgraded from Axis1.0 to Axis1.1. I am getting
   
 
 the
 
 
 below Exception, when i tried to run my Soap
 Tests.
 
 Earlier it was working fine with Axis1.0.
 
 Can any body help on this.
 
 27625 [http-9090-Processor25] ERROR
 org.apache.axis2.transport.http.AxisServlet  -
 java.lang.AbstractMethodError
 27625 [http-9090-Processor25] ERROR
   
 

org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/musicportal].[AxisServlet]
 
 
 - Servlet.service() for servlet AxisServlet threw
 exception
 java.lang.AbstractMethodError
 at
   
 

org.apache.axis2.engine.Phase.invoke(Phase.java:381)
 
 
 at
   
 

org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:518)
 
 
 at
   
 

org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:705)
 
 
 at
   
 

org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:305)
 
 
 at
   
 

org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:287)
 
 
 at
   
 

javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
 
 
 at
   
 

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
 
 at
   
 

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 
 
 at
   
 

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 
 
 at
   
 

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
 
 
 at
   
 

org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
 
 
 at
   
 

org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
 
 
 at
   
 

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
 
 
 at
   
 

org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
 
 
 at
   
 

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
 
 
 at
   
 

org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
 
 
 at
   
 

org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
 
 
 at
   
 

org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
 
 
 
=== message truncated ===




__ 
Yahoo! Movies - Search movie info and celeb profiles and photos. 
http://sg.movies.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] Explicit headers with JiBX

2007-01-16 Thread Alexander Grivnin
Hi Dennis,

 Thanks for the detailed axis2-JiBX wiki page!
 
 Do you know if headers are supported in the latest (1.1.1) release? I
tried to use explicit headers in a wsdl and there is a compilation error
saying that no mapping was defined for the header type. Should the
header be also in the mapping?

 Thanks for all your help,

 Alex

--

WSDL file:

...
wsdl:message name=createResourcePoolsMessage
wsdl:part name=part1
element=rs:createResourcePools/
wsdl:part name=auditHeader
element=common:AuditHeader/
/wsdl:message
...

wsdl:binding name=ResourceServiceSOAP11Binding
type=rmMsg:ResourceServicePortType
soap:binding style=document
transport=http://schemas.xmlsoap.org/soap/http/
wsdl:operation name=createResourcePools
soap:operation soapAction=urn:createResourcePools style=document/
wsdl:input
soap:body use=literal
namespace=http://mercury.com/ppm/rm/msg/1.0/
soap:header
message=rmMsg:createResourcePoolsMessage part=auditHeader
use=literal/
/wsdl:input
wsdl:output
soap:body use=literal
namespace=http://mercury.com/ppm/rm/msg/1.0/
/wsdl:output
/wsdl:operation
...

Exception:

[echo] wsdl file =
N:\Kintana\KntaDev\SourceCode\java\pm\webservices\conf\wsdl/ResourceServ
ice.wsdl
 [java] Retrieving schema at '../xsd/Resource.xsd', relative to
'file:/N:/Kintana/KntaDev/SourceCode/java/pm/webservices/conf/wsdl/'.
 [java] Retrieving schema at '../xsd/Common.xsd', relative to
'file:/N:/Kintana/KntaDev/SourceCode/java/pm/webservices/conf/xsd/Resour
ce.xsd'.
 [java] org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: No mapping defined for element
{http://mercury.com/ppm/common/1.0}AuditHeader
 [java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerati
onEngine.java:224)
 [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
 [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
 [java] Caused by: java.lang.RuntimeException: No mapping defined for
element {http://mercury.com/ppm/common/1.0}AuditHeader
 [java] at
org.apache.axis2.jibx.CodeGenerationUtility.mapQName(CodeGenerationUtili
ty.java:928)
 [java] at
org.apache.axis2.jibx.CodeGenerationUtility.mapMessage(CodeGenerationUti
lity.java:922)
 [java] at
org.apache.axis2.jibx.CodeGenerationUtility.engage(CodeGenerationUtility
.java:340)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
 [java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
 [java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
 [java] at java.lang.reflect.Method.invoke(Method.java:324)
 [java] at
org.apache.axis2.wsdl.codegen.extension.JiBXExtension.engage(JiBXExtensi
on.java:74)
 [java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerati
onEngine.java:177)
 [java] ... 2 more

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Change Axis2 transport to libwww

2007-01-16 Thread VijesH

hi all,
   I'm new to development using Axis2. I would like to change the default
transport available in Axis2. I want to plug in LibWWW. I made LibWWW work
separately for a SOAP request response (say Google soap search). Now how
would I be go about in plugging this LibWWW transport with Axis2? How should
I proceed on this regard?

Thanks in Advance.


Unsubscribing

2007-01-16 Thread Kedar, Shahar
Hi,

 

I'm trying to unsubscribe from the mailing list, but when I try to
confirm it I get an error that the address I'm trying to send it to does
not exist.

Any suggestion will be helpful.

 

Thanks,

Shahar



RE: unexpected xmlns:tns in soap response xml.

2007-01-16 Thread Giuseppe Sarno
Hi I cloned the RawInOutReceiver
 
removing those lines about target namespace, and everything worked out
just fine.
 
I'm wondering is there any danger in doing so ?
Why those lines ?
result.declareNamespace(service.getTargetNamespace(),

service.getTargetNamespacePrefix());

Thanks.



From: Sarno, Giuseppe (MOP:GM15) 
Sent: 15 January 2007 16:13
To: axis-user@ws.apache.org
Subject: RE: unexpected xmlns:tns in soap response xml.


Hi,
just got this:
 
From the RawInOutReceiver:
 
At some point it adds the tns namespace to result: 
 
if (result != null) {

AxisService service = msgContext.getAxisService();

result.declareNamespace(service.getTargetNamespace(),

service.getTargetNamespacePrefix());

envelope.getBody().addChild(result);

}

Why is that ? Why tns is mand in the response ?
 
Full funtion code:
public void invokeBusinessLogic(MessageContext msgContext,
MessageContext newmsgContext)

throws AxisFault {

try {

// get the implementation class for the Web Service

Object obj = getTheImplementationObject(msgContext);

// find the WebService method

Class implClass = obj.getClass();

AxisOperation opDesc = msgContext.getAxisOperation();

Method method = findOperation(opDesc, implClass);

if (method != null) {

OMElement result = (OMElement) method.invoke(

obj, new
Object[]{msgContext.getEnvelope().getBody().getFirstElement()});

SOAPFactory fac = getSOAPFactory(msgContext);

SOAPEnvelope envelope = fac.getDefaultEnvelope();

if (result != null) {

AxisService service = msgContext.getAxisService();

result.declareNamespace(service.getTargetNamespace(),

service.getTargetNamespacePrefix());

envelope.getBody().addChild(result);

}

newmsgContext.setEnvelope(envelope);




From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
Sent: 15 January 2007 16:04
To: axis-user@ws.apache.org
Subject: Re: unexpected xmlns:tns in soap response xml.


Giuseppe, 

I'm sorry. You can specify the namespace only when you create the SOAP
elements by hand.

Michele

On 15 Jan 2007, at 15:36, Giuseppe Sarno wrote:


Hi,
I don't understand I looked at the api and the only way to
create an OMFactory is to call

OMFactory fac = OMAbstractFactory.getOMFactory();
there is no option for namespace.
 
Also I printed the XML just before returning and the XML haven't
changed. 
It really looks like it's something whithin AXIS:
 
SERVER SIDE CODE:
 
 
OMElement res = XMLStringToOMElement(reply);
System.out.println(OMElementToString(res));  --
this doesn't show any xmlns:tns  
return res;
 
Functions used below:
 
 
 public String OMElementToString(OMElement elm) throws
XMLStreamException, Facto
ryConfigurationError
{
 
StringWriter sw= new StringWriter();
XMLStreamWriter writer =
XMLOutputFactory.newInstance().createXMLStreamW
riter(
 sw);
 elm.serialize(writer);
 writer.flush();
 return sw.toString();
 
}
public OMElement XMLStringToOMElement(String xml) throws
XMLStreamException,
 FactoryConfigurationError
{
StringReader sr = new StringReader(xml);

XMLStreamReader parser =
XMLInputFactory.newInstance().createXMLStreamRe
ader(sr); 
StAXOMBuilder builder =
new StAXOMBuilder(OMAbstractFactory.getOMFactory(),
parser); 
OMElement documentElement =
builder.getDocumentElement();

return documentElement;
}

---
 
CLIENT SIDE CODE:
 
OMElement res = sender.sendReceive(msg);
System.out.println(done);
   
String response = OMElementToString(res);
System.out.println(response:+res);---
This contains the xmlns:tns


 
 
regards.
  




From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
Sent: 15 January 2007 15:09
To: axis-user@ws.apache.org
Subject: Re: unexpected xmlns:tns in soap response xml.


Giuseppe, 

try to provide a full configured OMFactory object (i.e. with
the namespace - null is a legal value).


Michele

On 15 Jan 2007, at 15:01, Giuseppe Sarno wrote:


Thanks,
 
Hi, thanks for your reply,
This is how I convert the XML from a String to an
OMElement.
Do you see anything 

Re: Unsubscribing

2007-01-16 Thread biswadip saha

block axis-user@ws.apache.org

On 1/16/07, Kedar, Shahar [EMAIL PROTECTED] wrote:


 Hi,



I'm trying to unsubscribe from the mailing list, but when I try to confirm
it I get an error that the address I'm trying to send it to does not exist.

Any suggestion will be helpful.



Thanks,

Shahar





--
##
Sr. Software Developer
+919899566690
##




 o o o o o o o . . .   __
   o  _   |||
 .][__n_n_|DD[  _  | |

(|__|_[_]_||

_/oo O oo`  ooo   ooo  'o!o!o  o!o!o`
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


axis2 and oc4j

2007-01-16 Thread frogg
Hi, I ran into the new problem. I developed client/server web service 
application using Tomcat v5.5. Using Tomcat everything works pretty good. But 
then I made war from server application and deployed it into OC4J10g. When I 
ask for wsdl of my web service (using browser), wsdl file is shown. According 
to server. log web service was deployed. But when I ask for web service using 
client application, then I get this exception:

org.apache.axis2.AxisFault: HTTP Transport error : '503' - 'Service 
Unavailable'; nested exception is: 
org.apache.axis2.AxisFault: HTTP Transport error : '503' - 'Service 
Unavailable'; nested exception is: 
org.apache.axis2.AxisFault: HTTP Transport error : '503' - 'Service 
Unavailable'; nested exception is: 
org.apache.axis2.AxisFault: HTTP Transport error : '503' - 'Service 
Unavailable'
at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:670)
at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:365)
at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:295)
at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:579)
at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
at 
org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:95)
at 
cz.cca.test.ws.client.ClientWithResponse.main(ClientWithResponse.java:179)
Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '503' - 'Service 
Unavailable'; nested exception is: 
org.apache.axis2.AxisFault: HTTP Transport error : '503' - 'Service 
Unavailable'
at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:340)
at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:205)
... 7 more
Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '503' - 'Service 
Unavailable'
at 
org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:144)
at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:334)
... 8 more
Exception in thread main 

It looks like server is not working properly, but why? I used almost the same 
settings which I used with tomcat (using  the same machine, so I expect no 
problems with firewall).
Any clue, anybody? thanks in advance


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] Axis2 1.2 release plan

2007-01-16 Thread Deepal Jayasinghe
Hi All;

We released Axis2 1.1.1 few days ago and now its time to think about the
next major release (Axis2 1.2). Before doing that we have big item left
in our hand is to merge Axis2 trunk and 1.1 branch. So we need to plan
on doing that on this week (I may try this time :( ).

In Axis2 release I would like to see following features in the release
in addition to the JIRAs in the JIRA list.
 - WSDL 2.0 fully support
 - POJO - annotation
 - REST Annotation
 - JAX-WS integration
 - JAX-WS -annotation
 - Un-wrapping (Response)
 - ADB - missing schema support
 - Move security  and Sawan module from Axis2 trunk
 - Maven2 support
 - JASON support
 - Binary serialization
 - Geronimo Integration
 - Jax-ws option for code gen (Jaxbri as the db)
 - Custom File cache mechanism
 - Multiple services support in code gen (WSDL with multiple services)
 - HTTP code generation (both WSDL 1.1 and 2.0)
 - i18n support
 - Fix/update helper mode

I would like to suggest 31st of March as the release date and going
backward from that date , we need to release first RC on 28th Feb and
cut the branch on the same date.  So the release dates will be ;

 - 28th Feb cut the branch for 1.2 release
 - 28th Feb Release Axis2 1.2 RC1
 - 15th March Release Axis2 RC2 (depending on the RC1 state)
 - Rename RC2 or RC1 as Axis2 1.2

To have the above mentioned feature list and to cope with the mentioned
date it is very much essential to have community support. One other
thing if we unable to get all the above mentioned feature by 28th Feb
then  we will be releasing Axis2 1.2 with  whatever the features we have
at that time.

About JAX-WS integration and JAX-WS annotation , please update the
mailing list  whether we will be able to have those feature in the
release or not.

Please comment and suggest if I have miss any features that you think is
necessary , or if I have add any feature which are not necessary.

Thanks
Deepal


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Accessing variables outside AXIS war file

2007-01-16 Thread Franck Coppola
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

  Hi,

  We are currently in need of a SOAP stack for a client application
project which needs remote control.

  More explicitely, we have a heavy client SWING application which must
be controlable from a Web Service.

  To do this, we currently embed a Jetty web server (but we could change
the embeded web server if we have a good reason to do it) and plan to
load AXIS War (or a WAR file containing AXIS) into it.

  The problem is if we do this, we do not have access anymore to
instances of objects we are supposed to control (the web application
does not have access to the SWING app).

  However, if I try to implement a simple servlet into Jetty, then I can
without any problem do my remote control. (The Handler inner class has
access to everything).

  Do you have any way around ?

  Sincerly,

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFrOoDPuakOQiuJrIRAg8pAJ4n08cf7s7/vllvMa5+S8lYvYMD5wCeIYBU
eSU5FVFen73I7riuW0MQIYY=
=4m58
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reading from the OMElement

2007-01-16 Thread Ahmet Koc

Hi @ all,

i have following problem. I get xml information from the server. I dont 
know how i get the tag values from the xml. Are there functions to get 
the values?


tns xmlns=http://axiom.service.quickstart.samples/xsd;arg0 
xmlns=contentsAhmet 
Koc/contentsid1/idnameStern/nameprice12.0/pricetitleStern 
siehe da/titletopicsDies und Das/topics/arg0arg1 
xmlns=contentsStern 
Contents/contentsid2/idnameStern/nameprice12.0/pricetitleStern 
Titel/titletopicsStern Topics/topics/arg1/tns


cheers
ahmet


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: axis2 and oc4j

2007-01-16 Thread frogg
To be more specific: when I use Tomcat, these lines are logged:

2007-01-16 15:48:42,707 [main] DEBUG org.apache.commons.httpclient.HttpParser  
- enter HttpParser.readLine(InputStream, String)
2007-01-16 15:48:42,707 [main] DEBUG org.apache.commons.httpclient.HttpParser  
- enter HttpParser.readRawLine()
2007-01-16 15:49:04,800 [main] DEBUG httpclient.wire.header  -  HTTP/1.1 200 
OK[\r][\n]


but while using OC4j:

2007-01-16 15:45:54,880 [main] DEBUG org.apache.commons.httpclient.HttpParser  
- enter HttpParser.readLine(InputStream, String)
2007-01-16 15:45:54,880 [main] DEBUG org.apache.commons.httpclient.HttpParser  
- enter HttpParser.readRawLine()
2007-01-16 15:45:54,880 [main] DEBUG httpclient.wire.header  -  HTTP/1.1 503 
Service Unavailable[\r][\n]

All lines before are almost the same (except necessary differencies like port 
ect. ).

I am  starting to be desperate. See ya.

__
 Od: [EMAIL PROTECTED]
 Komu: axis-user axis-user@ws.apache.org
 Datum: 16.01.2007 15:05
 Předmět: axis2 and oc4j

Hi, I ran into the new problem. I developed client/server web service
application using Tomcat v5.5. Using Tomcat everything works pretty good.
But then I made war from server application and deployed it into OC4J10g.
When I ask for wsdl of my web service (using browser), wsdl file is shown.
According to server. log web service was deployed. But when I ask for web
service using client application, then I get this exception:

org.apache.axis2.AxisFault: HTTP Transport error : '503' - 'Service
Unavailable'; nested exception is: 
 org.apache.axis2.AxisFault: HTTP Transport error : '503' - 'Service
Unavailable'; nested exception is: 
 org.apache.axis2.AxisFault: HTTP Transport error : '503' - 'Service
Unavailable'; nested exception is: 
 org.apache.axis2.AxisFault: HTTP Transport error : '503' - 'Service
Unavailable'
 at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:670)
 at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:365)
 at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:295)
 at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:579)
 at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
 at
org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:95)
 at
cz.cca.test.ws.client.ClientWithResponse.main(ClientWithResponse.java:179)
Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '503' -
'Service Unavailable'; nested exception is: 
 org.apache.axis2.AxisFault: HTTP Transport error : '503' - 'Service
Unavailable'
 at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:340)
 at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:205)
 ... 7 more
Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '503' -
'Service Unavailable'
 at
org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:144)
 at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:334)
 ... 8 more
Exception in thread main 

It looks like server is not working properly, but why? I used almost the
same settings which I used with tomcat (using the same machine, so I
expect no problems with firewall).
Any clue, anybody? thanks in advance


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How can I create a java client to call axis c++ web service(Calculator)

2007-01-16 Thread yinqiu luo

Hi, all,

Please help.

I created axis c++ Calculator service (using axis-c-1.6-Linux-trace-bin) and 
installed it into apache server. I also created a c++ client which works 
well to call axis c++ Calculator service remotly. But I have problem to 
create a java client to call axis c++ Calculator service . I used java 
org.apache.axis.wsdl.WSDL2Java ${AXISCPP}/deploy/wsdls/calculator.wsdl  to 
generate java stubs (axis-1_4).
my service is http://57.4.3.195:80/axis/Calculator;. It is within my co's 
firewall.


All client and server machine are within the firewall.

I have error
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: Webservice failed
faultActor: server name:listen port
faultNode:
faultDetail:
   {}appSpecific:AxisEngineException:Web Service failed

Please help.

regards,
Yinqiu Luo

_
Fixing up the home? Live Search can help 
http://imagine-windowslive.com/search/kits/default.aspx?kit=improvelocale=en-USsource=hmemailtaglinenov06FORM=WLMTAG



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



package issue of WSDL2Java and Eclipse

2007-01-16 Thread Jiang Liu
Hi all
I found that, well it actually could not be called as a problem,  WSDL2Java 
generates all source files and put them into a folder called ...\src\. But 
the problem is most client files keep the original package from WSDL's 
definition, so when integrating all sources with Eclipse, there is always 
package error.

For this error, i can do nothing but just hand code my Client easily. Any 
suggestions that i could keep the original file structure when using 
WSDL2Java so at least there is no problem when integrating with Eclipse? I 
tried '-p' when different defined package name, but it seems like only stub 
file changed, others not.

cheers!!
-
Jiang Liu
Student Number: 3075163
CS/Yallara Name: ljiang

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Reading from the OMElement

2007-01-16 Thread Jiang Liu
h, I guess to write a XML parser to process this xml result.

-Original Message-
From: Ahmet Koc [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Date: Tue, 16 Jan 2007 16:18:56 +0100
Subject: Reading from the OMElement

here functions to get 
the values?

tns xmlns1ttp://axiom.service.quickstart.samples/xsdarg0 
xmlns�contentsAhmet 
Koc/contentsid1/idnameStern/nameprice12.0/pricetitleStern 
siehe da/titletopicsDies und Das/topics/arg0arg1 
xmlns�contentsStern 
Contents/contentsid2/idnameStern/nameprice12.0/pricetitleStern 
Titel/titletopicsStern Topics/topics/arg1/tns

cheers
ahmet


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

From [EMAIL PROTECTED] Tue Jan 16 15:34 2007
X-Auth-No: 
Return-Path: axis-user-retur
-
Jiang Liu
Student Number: 3075163
CS/Yallara Name: ljiang

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Writing SSL axis client

2007-01-16 Thread Nitin Dubey
Hello,

 

I am trying to write a SSL client using AXIS 1.4.  I got a sample from
net and able to run the following program successfully.  I have to
modify the SOAP header and send a big XML content to a external
WebService.  Can anybody tell me whether I am following the right
approach? And using the following code how do I modify the SOAP headers?

 

public static void main(String [] args) {

  try {

//String endpoint =
https://localhost:1000/axis/protected/EchoService.jws;;

String endpoint =
https://pc1267.ascindia.com:1000/axis/protected/EchoService.jws;;

System.setProperty(javax.net.ssl.trustStore,
C:/temp/ssl/.keystore);



Service service = new Service();





Callcall= (Call) service.createCall();



call.setTargetEndpointAddress( new java.net.URL(endpoint) );

call.setOperationName(new QName(echoString));



//call.setUsername(wsuser);

//call.setPassword(wspwd);

 

String ret = (String) call.invoke( new Object[] { Hello! } );

System.out.println(Sent 'Hello!', got ' + ret + ');

  } catch (Exception e) {

System.err.println(e.toString());

  }

 

Cheers,

 

Nitin



Style message

2007-01-16 Thread herbison

Does anyone have a beginning to end example of how to do a Axis web-service
of style message?  Server code, client code, wsdd, etc...
-- 
View this message in context: 
http://www.nabble.com/Style-message-tf3021821.html#a8392873
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AW: [Axis2] Converting an OMElement into an Array of Objects

2007-01-16 Thread Ahmet Koc

Hello Sven,

i have the same problem. Have you an idea how to convert an omelement to 
an array?


cheers
ahmet


Hi all,

on the *client* side, the following exception is thrown:

Exception in thread main _java.lang.NullPointerException_

at herbieclient.test.holeBenutzer(_test.java:73_)

at herbieclient.test.main(_test.java:28_)

Line 73: System.out.println(buddies1.getName());

On the server side no exception is thrown.

Now, in order to understand the problem I have added the following 
code in the server class right after the server code described in my 
first mail:


//Setting the OMElement in the UserDesktopBean

bean.setBuddies(omElementBUD);

*new:*

HerbieObjectDesktopBean[] budtest = (HerbieObjectDesktopBean[]) 
BeanUtil.deserialize(omElementBUD, new 
Object[]{HerbieObjectDesktopBean.class},new 
AxisService().getObjectSupplier());


System.out.println(budtest.length);

Now, the following exception is thrown on the *server* side:

java.lang.ClassCastException: 
org.apache.axiom.om.impl.llom.OMDocumentImpl at 
org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:423)


at herbie.core.desktop.handler.UserHandler.get(UserHandler.java:255)

at 
herbie.core.desktop.handler.HerbieWSSkeleton.UserGet(HerbieWSSkeleton.java:86)


at 
herbie.core.desktop.handler.HerbieWSMessageReceiverInOut.invokeBusinessLogic(HerbieWSMessageReceiverInOut.java:74)


at 
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)


at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)

at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:319)


at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:247)


at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)


at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)


at herbie.core.gui.filter.CharsetFilter.doFilter(CharsetFilter.java:27)

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)


at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)


at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)


at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)


at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)


at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)


at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)


at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)


at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)


at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)


at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)


at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)


at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)


at java.lang.Thread.run(Thread.java:595)

Regards,

Sven



*Von:* Yadav, Yogendra (IT) [mailto:[EMAIL PROTECTED]
*Gesendet:* Dienstag, 9. Januar 2007 18:16
*An:* axis-user@ws.apache.org
*Betreff:* RE: [Axis2] Converting an OMElement into an Array of Objects

what is the exception ?



*From:* Sven Schroebler [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, January 09, 2007 12:04 PM
*To:* axis-user@ws.apache.org
*Subject:* [Axis2] Converting an OMElement into an Array of Objects

Hi All,

I am quite new to Axis2 and I am trying to develop a webservice for an 
existing webapplication.


So far I managed to set up a basic webservice that transfers JavaBeans 
(e.g. “UserDesktopBean”) and it possible to access all of the simple 
data types from the client application. Unfortunately, even after 
reading multiple AXIOM tutorials, I don’t know how to correctly work 
with the JavaBeans nested inside the “UserDesktopBeans” that need to 
be transferred as via AXIOM OMElement-wrapping.


At this time I use the following code to return an array of Objects as 
an OMElement:


SERVER:

###

//Converting an ArrayList to Array

Object[] budlist = buddies.toArray();

QName budQName = new 
QName(http://desktop.core.herbie.buddies,buddies;);


OMElement omElementBUD = BeanUtil.getOMElement(budQName, budlist, 
null, false, null);


//Setting the OMElement in the UserDesktopBean

bean.setBuddies(omElementBUD);

CLIENT:



//here I am trying to transform the array back

OMElement 

Re: Reading from the OMElement

2007-01-16 Thread Ahmet Koc

thnx for your answer,

but does axis dont have such a feature? i think so.


h, I guess to write a XML parser to process this xml result.

-Original Message-
From: Ahmet Koc [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Date: Tue, 16 Jan 2007 16:18:56 +0100
Subject: Reading from the OMElement

here functions to get 
the values?


tns xmlns1ttp://axiom.service.quickstart.samples/xsdarg0 
xmlns�contentsAhmet 
Koc/contentsid1/idnameStern/nameprice12.0/pricetitleStern 
siehe da/titletopicsDies und Das/topics/arg0arg1 
xmlns�contentsStern 
Contents/contentsid2/idnameStern/nameprice12.0/pricetitleStern 
Titel/titletopicsStern Topics/topics/arg1/tns


cheers
ahmet


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


From [EMAIL PROTECTED] Tue Jan 16 15:34 2007
X-Auth-No: 
Return-Path: axis-user-retur

-
Jiang Liu
Student Number: 3075163
CS/Yallara Name: ljiang

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Axis2 client JAR requirements

2007-01-16 Thread Danny Lin
OK. I have this problem resolved by removing the client jars
(XBeans-packaged.jar and myClient.jar) from Tomcat shared/lib directory.
I also added all Axis2 Jars to Tomcat shared/lib except the 4 jar files
that I decided to keep my old ones. I figured that they were not
contributing to the problem. Now I am going to remove Axis2 jars from
Tomcat shared/lib one by one to see which jar is indeed needed.
activation.jar
commons-fileupload.jar
commons-logging.jar
mail.jar




From: Danny Lin [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 16, 2007 10:21 AM
To: axis-dev@ws.apache.org; axis-user@ws.apache.org
Subject: RE: Axis2 client JAR requirements


I copied all Axis2 jar files to my Tomcat shared/lib directory and
removed 4 jars that are different versions:
activation.jar
commons-fileupload.jar
commons-logging.jar
mail.jar
 
So, at this point, my Tomcat is using the same jar files as Axis2. I am
no longer getting the class loader error. However, I am getting an
AxisFault. (see below.) What is a LinkageError? Any ideas? Thanks.
 
Danny
 
 
org.apache.axis2.AxisFault: java.lang.LinkageError: loader constraints
violated when linking org/apache/xmlbeans/XmlOptions class

org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
peration.java:308)

clients.InmateMatchServiceStub.getInmateList(InmateMatchServiceStub.java
:155)

us.sc.state.doc.intake.IntakeInmateMatchAction.searchSCDC(IntakeInmateMa
tchAction.java:134)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)

org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.j
ava:274)

org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAct
ion.java:160)

org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:419)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
224)

org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)

org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)




From: Danny Lin [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 15, 2007 4:12 PM
To: axis-user@ws.apache.org; axis-dev@ws.apache.org
Subject: Axis2 client JAR requirements


I have a webservice written using XMLBeans databinding. The client is
also using XMLBeans. So far, I've got the web service running and the
client (a Java class with main() method) is able to talk to the service
without problems.
 
In practice, I need to have a client from another webapp. I want to do
something similar to my client.java in the test. The Axis2 is installed
as a webapp. What's the recommendation for sharing the JAR libraries?
Should I copy all Axis2 JAR to Tomcat shared/lib directory? Or, should I
hand pick the required JARs and pack them within my WAR file? Is there a
list of the required JAR files when using XMLBeans databinding?
 
Thanks.
 
Danny
 


RE: Need help to get HTTP Header

2007-01-16 Thread Gnanasekaran Vinayakamurthy
I had logged a JIRA for this And any help that you guys can provide
on this front will go a long way to promoting the Axis2 in our
organization


-Original Message-
From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 12, 2007 8:23 PM
To: axis-user@ws.apache.org
Subject: Re: Need help to get HTTP Header

Yes... IIRC I also witnessed the above behaviour... I'm currently
doing a cleanup of the transports and  planning on fixing the above
too...

Please log a JIRA for the record purposes... So that we'll not forget
it..:)

Thanks,
Thilina

On 1/13/07, Gnanasekaran Vinayakamurthy
[EMAIL PROTECTED] wrote:
 Hi

 When I run axis2 client in debug mode, I could inspect the msgcontext
 object, which has Http header values as in the order of

msgcontext--operationContext--properties--TRANSPORT_IN--AutoCloseInp

utStream--watcher--HttpMethodBase--responseHeaders(HeaderGroup)--Hea
 der

 And I think Transport Phase in Axis2 missed to parse the Http
header(as
 in above) from input stream and thus missed not setting property
 TRANSPORT_HEADERS in msgContext.

 Is it a bug in axis2?

 Could any one please clarify?


 Thanks,
 Vinay

 -Original Message-
 From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 11, 2007 9:43 PM
 To: axis-user@ws.apache.org
 Subject: Re: Need help to get HTTP Header

 Hi Gnanasekaran ;

 In the server side you can get transport header from message context
as
 follows;
 Map headers = (Map)
 msgContext.getProperty(MessageContext.TRANSPORT_HEADERS);

  Hi all,
 
  Is there any way where I can get response HTTP Header data in Axis2?
 
  We are trying to get cookie from Http header, but no luck so far
  we are getting header values from xml soap message only, but not
able
  to get the HTTP Header.
 
  Below is the soap response from the server (captured using tcpmon)
 
 


 **
 
  HTTP/1.1 200 OK
 
  Date: Thu, 11 Jan 2007 18:21:34 GMT
 
  Server: Microsoft-IIS/6.0
 
  MicrosoftOfficeWebServer: 5.0_Pub
 
  X-Powered-By: ASP.NET
 
  X-AspNet-Version: 2.0.50727
 
  RSAuthenticationHeader: sqlAuthCookie
 
  Set-Cookie:
 

sqlAuthCookie=2E4D80C2D790C877650865B5FCD3E0F1DCC565C68BCCB22B3167B7063C

61CBB11ED07D75F85354C1E56F17B46E6F3246D97F202C53424CA028F8DE4421BE498173
 FD58E42E8D2E55C3059167301E7E6C;
  path=/; HttpOnly
 
  Cache-Control: private, max-age=0
 
 
 
  Content-Type: text/xml; charset=utf-8
 
 
 
  Content-Length: 794
 
 
 
 
 



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Java collections in Axis 1.4

2007-01-16 Thread McPeek, John [VISUS Non JJ]
Hi,
 I see the What's in this release for 1.4 that
Automatic two-way conversions between Java Collections and SOAP Arrays 
has been added. I have been trying to get this to work, with no success.
Does anyone know of an example that will show this in action. Does this also
mean that I can send a list of objects that themselves contain lists of
objects?

Thanks,
John


[axis2] tomcat manager html start / stop - mess

2007-01-16 Thread Stadelmann Josef
Hi Team,

I am running myService5 in application scope! axis2-1.1

Can somone from the axis development team explain what shall happen 
when one goes to http://alpha1:8080/manager/html/start?path=/axis2
looks-out for axis2, (just one of a web applications) clicks stop to it, 
waits until stop is confirmed in the message window, clicks start and 
waits long enougth until confirmation is given in the message window?


a) what shall be seen in the tomact stdout_20070116.log of stop  ?

b) what shall be seen in the tomcat stdout_20070116.log on start ?

c) what do you suggest to turn on, to configure to see what happens? 
(there are so many loggs)


NORMAL:
myService5.init() is called when the application is deployed in
scope=application at tomcat start. 
I have a log statement in myService5.init(), so init() was called
and this was logged to stdout_20070116.log (well done)


BUT NOTHING was logged in stdout_20070116.log on a stop click in tomcat?

I would expect that myService5.destroy() gets called, just as a way
to safely close down all open user sessions and log em off from legacy
systems, as well as keeping users informed about the break in service.




AND:
I did it while a client was repeadtedly comunicating with a service, 
clicking stop and the client got informed about that by an exception
with the soap message indicating that the service is not available.

Well done?!?!?


after the second start from the tomcat gui, I was able to launch the 
client and continue!

BUT NOTHING was logged in the tomcat stdout_20070116.log on (re)start ?


I would expect that myservice5.init() is called again and logged.



then I stop again, wait for confirmation, start again, wait for confirmation
and the only service which did make it after a long time was the Library 
service from the axis2 examples

all other previously deployed service where no longer available.

Only after a tomcat restart all services where available again.


What is the intention of the tomcat managment interface, tomcat
beeing one of a servlet engine? 

Does axis2 support/intercept certain events from the tomcat managment gui?

How robust is axis2 in concert with tomcat managemenet interactions?


Are there any documents to read about that in deep?



Josef.Stadelmann
@winterthur.ch










-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



axis fault -- where does the content come from

2007-01-16 Thread ChadDavis

I'm getting an AxisFault.  It has specific information from the
service in it that seems like a successful exchange with the
service.  In this case, its an authentication attempt.  The message in
the fault seems to be an appropriate, if not desirable, response from
the service.

Why is this an AxisFault then?  Is something wrong?

The authenticate action is not defined to return anything, so is this
the cause of the fault.  The service is returning a bit of
information.  If someone could enlighten me on this, I'd appreciate
it.

Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



wsdl2java generates incorrect/incomplete code

2007-01-16 Thread R Bruce Hoffman
I just can't seem to get Axis2 1.1.1 wsdl2java.sh to properly create
skeleton code and Axiom or XmlBeans artifacts correctly for, what seems
to be, relatively simple wsdl and xsd's.

Below is the xsd and wsdl information. I have used FC4, FC5, Ubuntu and Debian 
Sarge. I have tried 1.1, a snapshot before 1.1.1 and 1.1.1 releases. Sun java 
1.5.0_09 and 10.

I am being told that the wsdl and xsd information is valid (by the
original developers). Both NetBeans 5.5 and Eclipse (under WDSCi) seem
to agree that they are at least valid.

When I run wsdl2java with ADB binding, the message parts all end up in
the default package with empty package statements (package ;). The
ExtensionMapper.java ends up in an (invalid) null package. (It's named
null and on the output src path.)

All of the types, after the first array type, are listed with This was
an array! in the comments, but have no array declarations in their
_type_nn classes... the [] markers are not produced after the first
repeating element.

I have looked at trying to clean up this code to make it usable, but I
would think that Axis2 should be producing code that, at the very least,
would compile through the ant build if the wsdl2java succeeds, which it
does complete in this case. If not, it should probably give me an error
in the generation of the ADB code.

Maybe its something simple or I'm just a dope, or both, but I am lost.




fih-receive-purchase-order-1_0.wsdl
Description: application/xml


LimitedPurchaseOrder.xsd
Description: application/xml
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Accessing variables outside AXIS war file

2007-01-16 Thread Sérgio Sousa
Hi,

I think that what you really want is something like JMX.

Take a look at 
http://java.sun.com/javase/technologies/core/mntr-mgmt/javamanagement/
 
Sérgio Sousa


-Original Message-
From: Franck Coppola [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Date: Tue, 16 Jan 2007 16:06:43 +0100
Subject: Accessing variables outside AXIS war file


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

  Hi,

  We are currently in need of a SOAP stack for a client application
project which needs remote control.

  More explicitely, we have a heavy client SWING application which must
be controlable from a Web Service.

  To do this, we currently embed a Jetty web server (but we could change
the embeded web server if we have a good reason to do it) and plan to
load AXIS War (or a WAR file containing AXIS) into it.

  The problem is if we do this, we do not have access anymore to
instances of objects we are supposed to control (the web application
does not have access to the SWING app).

  However, if I try to implement a simple servlet into Jetty, then I can
without any problem do my remote control. (The Handler inner class has
access to everything).

  Do you have any way around ?

  Sincerly,

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFrOoDPuakOQiuJrIRAg8pAJ4n08cf7s7/vllvMa5+S8lYvYMD5wCeIYBU
eSU5FVFen73I7riuW0MQIYY=
=4m58
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Custom exception mapping with JibX

2007-01-16 Thread Vedha Vijayan
Hi,

 I'm trying to expose an existing service as a Web service. I've got few
queries regarding the process involved in doing so and about custom
exception mapping with JiBX. 

1. I generated the bindings (JiBX) and the schema for the classes
involved. The recommended procedure of creating a wsdl is to have an
abstract wsdl that defines the messages and then a concrete wsdl that
defines the bindings and the services. Is there a automated process to
go from the xsd and the Java class to generating the wsdl's? I had to
hand-code/edit the wsdl created using java2wsdl command. Is there any
tool that takes in the schema generated as a parameter and uses that to
automatically generate the wsdl? How do people go about devising means
to generate abstract and concrete wsdl's?

2. I'm trying to expose an operation that defines a custom exception.
The custom exception basically extends from java.lang.Exception and uses
exception chaining. I understand that I need to define a mapping for the
custom exception class. I try to create the binding and the schema using
the JiBX generator tools, but there is some problem or the other with
respect to java.lang.StackTraceElement. It does not have a no-argument
constructor or the schema definitions for java.lang.Throwable is not
properly created. This is something that people here must have
encountered. Can someone pin-point the right approach or if i'm going
wrong here. I'd like to know if people write their own
serializers/deserializers for mapping custom exceptions?


Appreciate the help in advance!!

Thanks,
vedha



-- 
Vedha Vijayan
Senior Software Engineer
Comergent Technologies Inc.
Ph:  650 232 5833
Fax: 650 232 6010
Email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: AW: [Axis2] Converting an OMElement into an Array of Objects

2007-01-16 Thread Sven Schroebler
Hi Ahmet!

After a good bit of work, I finally managed to solve the problem for me.
The reason that I needed to deal with an OMElement was that I tried to
transfer (Array-)Lists via Axis. At first, Axis Java2WSDL-Tool generated
xsd:anyType-Elements into the schema to represent the lists to be
transferred in the WSDL-File. anyType doesn't specify any specific data
type, therefore the server/client-code generated by WSDL2Java only contains
the most general type OMElement (using ADB-data binding) or XMLObject (using
XMLBeans).

I solved the problem by only transferring Arrays of Objects.
So in case you are also trying to transfer lists at any stage, change them
to arrays of the desired type. The Java2WSDL-Tool will than generate
XML-Schema with the specified data types. 

If you need to resize arrays, you can easily find methods that provide this
functionality on the internet.

By the way: I started with ADB databinding and switched to XMLBeans, as it
provides full XML-Schema support - according to the release notes. 
(Remember that with XMLBeans you fill an XMLBeans-Object-Array like this: 1.
O[] x=new O[length] 2. Each object in x: O y = O.factory.newInstance(). 3.
O[i]=y )

I hope this helps!
Best Regards,
Sven


-Ursprüngliche Nachricht-
Von: Ahmet Koc [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 16. Januar 2007 17:28
An: axis-user@ws.apache.org
Betreff: Re: AW: [Axis2] Converting an OMElement into an Array of Objects

Hello Sven,

i have the same problem. Have you an idea how to convert an omelement to 
an array?

cheers
ahmet

 Hi all,

 on the *client* side, the following exception is thrown:

 Exception in thread main _java.lang.NullPointerException_

 at herbieclient.test.holeBenutzer(_test.java:73_)

 at herbieclient.test.main(_test.java:28_)

 Line 73: System.out.println(buddies1.getName());

 On the server side no exception is thrown.

 Now, in order to understand the problem I have added the following 
 code in the server class right after the server code described in my 
 first mail:

 //Setting the OMElement in the UserDesktopBean

 bean.setBuddies(omElementBUD);

 *new:*

 HerbieObjectDesktopBean[] budtest = (HerbieObjectDesktopBean[]) 
 BeanUtil.deserialize(omElementBUD, new 
 Object[]{HerbieObjectDesktopBean.class},new 
 AxisService().getObjectSupplier());

 System.out.println(budtest.length);

 Now, the following exception is thrown on the *server* side:

 java.lang.ClassCastException: 
 org.apache.axiom.om.impl.llom.OMDocumentImpl at 
 org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:423)

 at herbie.core.desktop.handler.UserHandler.get(UserHandler.java:255)

 at 

herbie.core.desktop.handler.HerbieWSSkeleton.UserGet(HerbieWSSkeleton.java:8
6)

 at 

herbie.core.desktop.handler.HerbieWSMessageReceiverInOut.invokeBusinessLogic
(HerbieWSMessageReceiverInOut.java:74)

 at 

org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(Abstract
InOutSyncMessageReceiver.java:39)

 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)

 at 

org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
TPTransportUtils.java:319)

 at 
 org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:247)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

 at 

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)

 at 

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

 at herbie.core.gui.filter.CharsetFilter.doFilter(CharsetFilter.java:27)

 at 

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)

 at 

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

 at 

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)

 at 

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)

 at 

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)

 at 

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)

 at 

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)

 at 

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

 at 
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)

 at 

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:744)

 at 

org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)

 at 

org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)

 at 

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)

 at java.lang.Thread.run(Thread.java:595)

 Regards,

 Sven

 

SocketTimeOutException

2007-01-16 Thread Jernigan, TieSha
When running my Axis2 Client, after about 20-30 seconds I get the
following exception. My system does not recover from this exception. I
am assuming that when the exception occurs the socket gets closed, so I
never get a response back from my server. Is there a way that I can
increase the timeout? Or are there any other suggestions on how to fix
the problem? 

 

ERROR espace.services.galelite.client.BaseWebServiceClient  - Server
responded with the Exception[Read timed out; nested exception is: 

java.net.SocketTimeoutException: Read timed out; nested
exception is: 

org.apache.axis2.AxisFault: Read timed out; nested exception
is: 

java.net.SocketTimeoutException: Read timed out]

[2007.01.16 at 13:35:01 EST] Server responded with the Exception[Read
timed out; nested exception is: 

java.net.SocketTimeoutException: Read timed out; nested
exception is: 

org.apache.axis2.AxisFault: Read timed out; nested exception
is: 

java.net.SocketTimeoutException: Read timed out]



Re: SocketTimeOutException

2007-01-16 Thread pierre . clermont
I had the same problem :
you can try to update timeout value in axis.xml.
But for me the problem was fixed to uninstall my security internet tools
(stopping firewall was not enough ...)



Quoting Jernigan, TieSha [EMAIL PROTECTED]:

 When running my Axis2 Client, after about 20-30 seconds I get the
 following exception. My system does not recover from this exception. I
 am assuming that when the exception occurs the socket gets closed, so I
 never get a response back from my server. Is there a way that I can
 increase the timeout? Or are there any other suggestions on how to fix
 the problem?



 ERROR espace.services.galelite.client.BaseWebServiceClient  - Server
 responded with the Exception[Read timed out; nested exception is:

 java.net.SocketTimeoutException: Read timed out; nested
 exception is:

 org.apache.axis2.AxisFault: Read timed out; nested exception
 is:

 java.net.SocketTimeoutException: Read timed out]

 [2007.01.16 at 13:35:01 EST] Server responded with the Exception[Read
 timed out; nested exception is:

 java.net.SocketTimeoutException: Read timed out; nested
 exception is:

 org.apache.axis2.AxisFault: Read timed out; nested exception
 is:

 java.net.SocketTimeoutException: Read timed out]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Question axis 2 Java2WSDL tool

2007-01-16 Thread Harish Hirasave
Hello Anne,

I could not find this feature of automatic unwrapping. The Java2WSDL and
WSDL2Java in axis2-1.1.1 work in the same way as the axis2-1.1. The code
gets generated wrapped and I am unable to un wrap the classes and get
return types as basic java objects. Please tell how this feature of
unwrapping has been implemented and how to use it.

Thanks
Harish

-Original Message-
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 12, 2007 7:06 AM
To: axis-user@ws.apache.org
Subject: Re: Question axis 2 Java2WSDL tool

Try using Axis2 1.1.1. What you're looking for is automatic
unwrapping of the wrapper element, and that has only recently been
implemented.

Anne

On 1/11/07, Harish Hirasave [EMAIL PROTECTED] wrote:




 I want document literal style but not wrapped. I am trying to convert
an
 application from axis 1.2 to axis 2.1 and hence would like to use
document
 literal but I don't want the wrapper objects as the client that would
use
 the service will not be a java client. Is there a way I can do this?



  


 From: Manoj Khangaonkar [mailto:[EMAIL PROTECTED]
  Sent: Thursday, January 11, 2007 3:18 PM
  To: axis-user@ws.apache.org
  Subject: Re: Question axis 2 Java2WSDL tool





 Harish,





 By default , AXIS2 java2WSDL generates what is called doc lit wrapped
style
 WSDL.





 My guess is you want RPC lit style WSDL - like below





 wsdl:message
 name=getEligibleIVRPromotionsResponseMessage

 wsdl:part name=part1 element=xsd:string/

 /wsdl:message


 I think AXIS2 java2WSDL does not support this ( not 100% sure) --- You
might
 want to try using the original AXIS java2WSDL - You typically pass in
the
 WSDL


 style as a command line parameter.





 In the original java2WSDL you could say java2WSDL -style rpc
.





 in AXIS2 , you would java2WSDL -st  but I am not sure what the
supported
 values are.





 Mj






 On 1/11/07, Harish Hirasave [EMAIL PROTECTED] wrote:



 Hi,



 I have a pojo from which I am trying a generate a wsdl. The pojo has
the
 method



 public String getEligibleIVRPromotions(String phone)

 throws RemoteException

 {

 String errorMsg =
 IVRServiceSoapBindingImpl.getEligibleIVRPromotions(String):;

 String xml = null;

 return xml;

 }



 This method returns a String object.



 When I convert it to wsdl using the java2WSDL tool the wsdl method
gets
 generated with a getEligibleIVRPromotionsRequest Object as input and
 getEligibleIVRPromotionsResponse Object as the return
 object.



 How do I prevent this and  make the method return a String object and
not a
 wrapper object getEligibleIVRPromotionsResponse? Attached
 is the wsdl. Please help.







 Thanks

 Harish


 -
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



wsdl2java can not generate the client function which only has output.

2007-01-16 Thread Wang, Hailong \(NIH/CIT\) [C]
Hi Guys,

 

This is my first time to write email to this mailing list. When I try to
generate the client code for the operation which only has an output
using wsdl2java, actually wsdl2java doesn't generate the operation in
stub class, but does generate operation for those with the inputs. Can
someone help me on this? Thanks.

 

 

Hailong Wang

National Database for Autism Research(NDAR)

NIH/CIT/DECA

9000 Rockville Pike, Bld 12A/Room 2027

Bethesda, MD 20892

Phone:  301-402-3045

Fax:   301-480-0028

Email:   [EMAIL PROTECTED]

URL:   http://ndar.nih.gov

 



RE: SocketTimeOutException

2007-01-16 Thread Punnoose, Roshan
What property needs to change in the axis.xml for the socket timeout?
(This is for Axis2)

Roshan Punnoose
Phone: 301-497-6039

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 16, 2007 2:24 PM
To: axis-user@ws.apache.org; Jernigan, TieSha
Cc: axis-user@ws.apache.org
Subject: Re: SocketTimeOutException 

I had the same problem :
you can try to update timeout value in axis.xml.
But for me the problem was fixed to uninstall my security internet tools
(stopping firewall was not enough ...)



Quoting Jernigan, TieSha [EMAIL PROTECTED]:

 When running my Axis2 Client, after about 20-30 seconds I get the
 following exception. My system does not recover from this exception. I
 am assuming that when the exception occurs the socket gets closed, so
I
 never get a response back from my server. Is there a way that I can
 increase the timeout? Or are there any other suggestions on how to fix
 the problem?



 ERROR espace.services.galelite.client.BaseWebServiceClient  - Server
 responded with the Exception[Read timed out; nested exception is:

 java.net.SocketTimeoutException: Read timed out; nested
 exception is:

 org.apache.axis2.AxisFault: Read timed out; nested
exception
 is:

 java.net.SocketTimeoutException: Read timed out]

 [2007.01.16 at 13:35:01 EST] Server responded with the Exception[Read
 timed out; nested exception is:

 java.net.SocketTimeoutException: Read timed out; nested
 exception is:

 org.apache.axis2.AxisFault: Read timed out; nested
exception
 is:

 java.net.SocketTimeoutException: Read timed out]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

BEGIN:VCARD
VERSION:2.1
N:Punnoose;Roshan
FN:Punnoose, Roshan
ADR;WORK:;2115
LABEL;WORK:2115
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050413T183207Z
END:VCARD
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

[Axis2] Simple stand-alone client to invoke web services

2007-01-16 Thread footh
I have a separate java web application running under
Tomcat 5.5 in which I want to dynamically invoke web
services using Axis2.

I was able to easily do this using Axis1, but I am
running into a problem with Axis2.  I've followed the
simple examples in the documentation with creating a
ServiceClient object and then sending a payload.

However, I am having trouble with the ServiceClient
object.  I was creating it with the default
constructor, but that doesn't work without the default
axis2.xml file and repository.

So, I looked into creating my own
ContextConfiguration, but I can't seem to find any way
of doing it dynamically.  Do I have to point to a
separate file every time (axis2.xml) or can I create
the configuration in code alone?  Can anyone point me
to examples of how this might be done?


 

Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food  Drink QA.
http://answers.yahoo.com/dir/?link=listsid=396545367

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Axis2] Simple stand-alone client to invoke web services

2007-01-16 Thread Yadav, Yogendra \(IT\)
Try this

  ConfigurationContext ctx =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(C:
/work/AXIS2-Examples/for-client-testing/repository,
C:/work/AXIS2-Examples/for-client-testing/axis2.xml);
  ServiceClient sc = new ServiceClient(ctx, null);
  Options opt = new Options();
  opt.setTo(new
EndpointReference(http://localhost:8080/axis2/services/XSDJAXBService;)
);
  opt.setTransportInProtocol( Constants.TRANSPORT_HTTP );
  opt.setAction(ServiceMethod);
  sc.engageModule( new QName( Constants.MODULE_ADDRESSING ) );
  sc.setOptions(opt);
  
  OMElement payload = getPayload();
  OMElement ol = sc.sendReceive( payloadRoot ); 


-Original Message-
From: footh [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 16, 2007 3:07 PM
To: axis-user@ws.apache.org
Subject: [Axis2] Simple stand-alone client to invoke web services

I have a separate java web application running under Tomcat 5.5 in which
I want to dynamically invoke web services using Axis2.

I was able to easily do this using Axis1, but I am running into a
problem with Axis2.  I've followed the simple examples in the
documentation with creating a ServiceClient object and then sending a
payload.

However, I am having trouble with the ServiceClient object.  I was
creating it with the default constructor, but that doesn't work without
the default axis2.xml file and repository.

So, I looked into creating my own
ContextConfiguration, but I can't seem to find any way of doing it
dynamically.  Do I have to point to a separate file every time
(axis2.xml) or can I create the configuration in code alone?  Can anyone
point me to examples of how this might be done?


 


Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food  Drink QA.
http://answers.yahoo.com/dir/?link=listsid=396545367

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


NOTICE: If received in error, please destroy and notify sender. Sender does not 
intend to waive confidentiality or privilege. Use of this email is prohibited 
when received in error.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] Custom serializer for HashMap

2007-01-16 Thread Sathija Pavuluri
Hi,

Is anyone aware of the effort involved in writing a custom serializer for 
HashMap?
I've not been able to find much help/tutorial on axis2 website.
Will appreciate if others who've been through this can share their experiences.

Thanks,
Sathija


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Calling WS from a WS

2007-01-16 Thread Shehzad Tahir Nagi

Hello,

I am really new to the whole world of Web Services and Axis. I have a
particular problem about calling a web service from another web service
both written in Java. One web Service is a Caching Service and the
other one is a Data Controller Service. In the basic flow of
program(which should happen but doesnt), an language independent client
interacts with Data Controller Service to write some data in Caching
system. It uses a write method present on the Controller Service. This
method passes on the request with the storage data to the caching web
service. Caching webservice has a storage function(putCacheObject)  in
it which is visible through web service. 

Now since once the user sends his request, he doesnt have to wait for
the completion of the service therefore one-way message passing is used
with RPCInOnlyMessageReceiver receiver. So therefor both the visible
write functions are called with ServiceClient.fireAndForget() function.
Thread Sleep is used to proper accomplishment of the functions.

Problem:
Now when the system is test by keeping the Caching Service online and
the Controller service as a client program with a MAIN function test
class in it, the data is stored and retrieved correctly. Storage is done
with fireAndForget function.

Now the Data Controller Service is taken online so we have two web
services running. An external client is used to call the write function
on the Data Controller Web Service. the client calls the storage write
function with the data in it and passes the whole data packet properly
into the web service. But when Controller Service goes to call the
Caching service, is doesnt call the proper function or doesnt call the
Caching service without giving any exceptions at all. Few things in my
mind related to this situation are:
* if the link between the Controller Service and the Caching Service has
some problem in it, the Test Command line program would have raised some
kind of error but infact it produced good results.
*It might be the case that the ServiceClient on the Controller service
is taking some wrong parameters, But i dont know how to check it.
* I also tried placing both of these Services in separate axis2
installations but even then it produced incorrect output.

I need some ideas how to correct the problem with call a web service
with in a web service.

Thanks alot in advance.


-- 
Shehzad Tahir Nagi
Level E Limited,UK


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Axis 1.4 VerifyError w/BeanDeserializer

2007-01-16 Thread Todd Pettepier
I've seen a similar question posed about a year and a half ago, but no
resolution, so I'll ask again.

 

I have an application running under WebSphere 5.1 on Linux with Axis 1.4
that runs fine.  I am getting the following at startup when deployed to
WebSphere on iSeries.  Anyone seen this?  (A previous version using Axis
1.1 works fine in iSeries)

 

Thank you.

 

[1/12/07 11:58:36:360 EST] 725111a7 WebGroup  E SRVE0020E: [Servlet
Error]-[AdminServlet]: Failed to load servlet: java.lang.VerifyError:
org/apache/axis/encoding/ser/BeanDeserializer   

at java.lang.Throwable.init(Throwable.java:195)

at java.lang.Error.init(Error.java:49)

at java.lang.VerifyError.init(VerifyError.java:34)

at java.lang.Class.forName(Class.java:164)

at
org.apache.axis.encoding.ser.BeanDeserializerFactory.class$(BeanDeserial
izerFactory.java:43)

at
org.apache.axis.encoding.ser.BeanDeserializerFactory.init(BeanDeserial
izerFactory.java:43)

at
org.apache.axis.encoding.DefaultTypeMappingImpl.initMappings(DefaultType
MappingImpl.java:471)

at
org.apache.axis.encoding.DefaultTypeMappingImpl.init(DefaultTypeMappin
gImpl.java:91)

at
org.apache.axis.encoding.DefaultTypeMappingImpl.getSingletonDelegate(Def
aultTypeMappingImpl.java:85)

at
org.apache.axis.encoding.TypeMappingRegistryImpl.init(TypeMappingRegis
tryImpl.java:155)

at
org.apache.axis.encoding.TypeMappingRegistryImpl.init(TypeMappingRegis
tryImpl.java:149)

at
org.apache.axis.deployment.wsdd.WSDDDeployment.init(WSDDDeployment.jav
a:449)

at
org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument.ja
va:139)

at
org.apache.axis.deployment.wsdd.WSDDDocument.init(WSDDDocument.java:65
)

at
org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.
java:179)

at org.apache.axis.AxisEngine.init(AxisEngine.java:172)

at org.apache.axis.AxisEngine.init(AxisEngine.java:156)

at
org.apache.axis.server.AxisServer.init(AxisServer.java:88)

at
org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxis
ServerFactory.java:109)

at
org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisSer
verFactory.java:73)

at
org.apache.axis.server.AxisServer.getServer(AxisServer.java:73)

at
org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase
.java:185)

at
org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase
.java:396)

at
org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java
:112)

at
javax.servlet.GenericServlet.init(GenericServlet.java:258)

at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServl
etInstance.java:82)

at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifec
ycleServlet.java:147)

at
com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLi
fecycleServlet.java:270)

at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecy
cleServlet.java:113)

at
com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.jav
a:189)

at
javax.servlet.GenericServlet.init(GenericServlet.java:258)

at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppSer
vletManager.java:876)

at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppSe
rvletManager.java:224)

at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets
(WebAppServletManager.java:542)

at
com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:139
4)

at
com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:299)

at
com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:408)

at
com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:212)

at
com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java
:1019)

at
com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.j
ava:136)

at
com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.jav
a:356)

at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl
.java:517)

at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectS
tart(DeployedApplicationImpl.java:808)

at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl
.java:354)

at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedAppli
cationImpl.java:578)

at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applica
tionMgrImpl.java:311)

at

RE: [Axis2] Simple stand-alone client to invoke web services

2007-01-16 Thread footh
Thanks for the reply.  

I already have something very similar to that.  I was
hoping, however, to avoid having to use external files
to create the configuration.

But, I can concede on that if it is absolutely
necessary.  However, do I need to use the axis2.xml
file that comes with Axis2?  It seems to have a bunch
of parameters that I am not interested in.  In fact,
I'm not even sure what parameters I need if I want to
simply invoke and request-response service over HTTP.

Additionally, do I need to have the repository
directory?  I notice that the addressing module is in
there, but can I just stick that with the rest of the
.jar files?
--- Yadav, Yogendra (IT)
[EMAIL PROTECTED] wrote:

 Try this
 
   ConfigurationContext ctx =

ConfigurationContextFactory.createConfigurationContextFromFileSystem(C:
 /work/AXIS2-Examples/for-client-testing/repository,

C:/work/AXIS2-Examples/for-client-testing/axis2.xml);
   ServiceClient sc = new ServiceClient(ctx,
 null);
   Options opt = new Options();
   opt.setTo(new

EndpointReference(http://localhost:8080/axis2/services/XSDJAXBService;)
 );
   opt.setTransportInProtocol(
 Constants.TRANSPORT_HTTP );
   opt.setAction(ServiceMethod);
   sc.engageModule( new QName(
 Constants.MODULE_ADDRESSING ) );
   sc.setOptions(opt);
   
   OMElement payload = getPayload();
   OMElement ol = sc.sendReceive( payloadRoot ); 
 
 
 -Original Message-
 From: footh [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, January 16, 2007 3:07 PM
 To: axis-user@ws.apache.org
 Subject: [Axis2] Simple stand-alone client to invoke
 web services
 
 I have a separate java web application running under
 Tomcat 5.5 in which
 I want to dynamically invoke web services using
 Axis2.
 
 I was able to easily do this using Axis1, but I am
 running into a
 problem with Axis2.  I've followed the simple
 examples in the
 documentation with creating a ServiceClient object
 and then sending a
 payload.
 
 However, I am having trouble with the ServiceClient
 object.  I was
 creating it with the default constructor, but that
 doesn't work without
 the default axis2.xml file and repository.
 
 So, I looked into creating my own
 ContextConfiguration, but I can't seem to find any
 way of doing it
 dynamically.  Do I have to point to a separate file
 every time
 (axis2.xml) or can I create the configuration in
 code alone?  Can anyone
 point me to examples of how this might be done?
 
 
  


 
 Food fight? Enjoy some healthy debate
 in the Yahoo! Answers Food  Drink QA.

http://answers.yahoo.com/dir/?link=listsid=396545367
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]


 
 NOTICE: If received in error, please destroy and
 notify sender. Sender does not intend to waive
 confidentiality or privilege. Use of this email is
 prohibited when received in error.
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How can I create a java client to call axis c++ web service(Calculator)

2007-01-16 Thread yinqiu luo

I solved the issue based on information from:

http://issues.apache.org/jira/browse/AXISCPP-111



From: yinqiu luo [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: How can I create a java client to call axis c++ web 
service(Calculator)

Date: Tue, 16 Jan 2007 15:36:08 +

Hi, all,

Please help.

I created axis c++ Calculator service (using axis-c-1.6-Linux-trace-bin) 
and installed it into apache server. I also created a c++ client which 
works well to call axis c++ Calculator service remotly. But I have problem 
to create a java client to call axis c++ Calculator service . I used java 
org.apache.axis.wsdl.WSDL2Java ${AXISCPP}/deploy/wsdls/calculator.wsdl  to 
generate java stubs (axis-1_4).
my service is http://57.4.3.195:80/axis/Calculator;. It is within my co's 
firewall.


All client and server machine are within the firewall.

I have error
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: Webservice failed
faultActor: server name:listen port
faultNode:
faultDetail:
   {}appSpecific:AxisEngineException:Web Service failed

Please help.

regards,
Yinqiu Luo

_
Fixing up the home? Live Search can help 
http://imagine-windowslive.com/search/kits/default.aspx?kit=improvelocale=en-USsource=hmemailtaglinenov06FORM=WLMTAG



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Find sales, coupons, and free shipping, all in one place!  MSN Shopping 
Sales  Deals 
http://shopping.msn.com/content/shp/?ctid=198,ptnrid=176,ptnrdata=200639



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



WS-Secutiry

2007-01-16 Thread Alick Buckley
Hi Guys,

I am trying to connect to a .NET service using Apache Axis 1.4 and
WS-Security.

I am using wss4J version 1.5.1 and an addressing-SNAPSHOT.jar from Sandesha
1.0

The SOAP request contains the WS-Addressing elements and everything looks
correct, it compares well with a sample SOAP request supplied by the
customer. The only major difference is that the Apace UUID'd are different
in format/style to the .NET clients.

Q1. Does Apache Axis 1.4 work with .NET WSE 2.0 ?

===

deployment name=defaultClientConfig
xmlns=http://xml.apache.org/axis/wsdd/;
xmlns:java=http://xml.apache.org/axis/wsdd/providers/java;

 globalConfiguration
   parameter name=disablePrettyXML value=true/
   parameter name=enableNamespacePrefixOptimization value=false/
   parameter name=addressing.sendReplyTo value=true/
 /globalConfiguration

 service name=
   requestFlow

 handler
type=java:org.apache.axis.message.addressing.handler.AddressingHandler
   parameter name=referencePropertyNames
value={Element}{http://schemas.xmlsoap.org/ws/2004/03/addressing}Action;{El
ement}{http://schemas.xmlsoap.org/ws/2004/03/addressing}MessageID;{Element}{
http://schemas.xmlsoap.org/ws/2004/03/addressing}ReplyTo{Element};{http://sc
hemas.xmlsoap.org/ws/2004/03/addressing}To/
 /handler

 handler type=java:org.apache.ws.axis.security.WSDoAllSender
   !-- action order is important, do Timestamp then Signature if
signing Timestamp --
   parameter name=action value=Timestamp Signature/
   parameter name=user value=myuser/
   parameter name=passwordCallbackClass
value=com.acme.security.PasswordCallback/
   parameter name=signatureKeyIdentifier value=DirectReference/
   parameter name=signaturePropFile value=pki/security.properties/
   parameter name=timeToLive value=300/
   parameter name=precisionInMilliseconds value=false /
   parameter name=signatureParts
value={Element}{http://schemas.xmlsoap.org/ws/2004/03/addressing}Action;{El
ement}{http://schemas.xmlsoap.org/ws/2004/03/addressing}MessageID;{Element}{
http://schemas.xmlsoap.org/ws/2004/03/addressing}ReplyTo;{Element}{http://sc
hemas.xmlsoap.org/ws/2004/03/addressing}To;{Element}{http://docs.oasis-open.
org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Timestamp;{Eleme
nt}{http://schemas.xmlsoap.org/soap/envelope/}Body/
 /handler

   /requestFlow
 /service
/deployment


=

SOAP fault string :
Microsoft.Web.Services2.Policy.PolicyVerificationException: WSE402: The
message does not conform to the policy it was mapped to.
   at
Microsoft.Web.Services2.Policy.SimplePolicyVerifier.VerifyMessageWithExpress
ion(PolicyExpression expression, SoapEnvelope message, EndpointReference
endpoint, String action, Uri requestEndpoint)
   at
Microsoft.Web.Services2.Policy.SimplePolicyVerifier.Verify(SoapEnvelope
message)
   at
Microsoft.Web.Services2.Policy.PolicyVerificationInputFilter.ProcessMessage(
SoapEnvelope envelope)
   at Microsoft.Web.Services2.Pipeline.ProcessInputMessage(SoapEnvelope
envelope)
   at
Microsoft.Web.Services2.Messaging.SoapReceiver.FilterMessage(SoapEnvelope
envelope)
   at
Microsoft.Web.Services2.Messaging.SoapReceiver.ProcessMessage(SoapEnvelope
message)


=

regards

 Alick Buckley
 
 LANSA Research and Development
 LANSA Pty Ltd
 
 Phone: +61289070243
 
 http://www.lansa.com
 mailto:[EMAIL PROTECTED]
 
 
 
 


Re: SocketTimeOutException

2007-01-16 Thread frogg
What kind of web service method invocation do you use? Void or with some 
returning type? I experienced this problem only with void (so client was 
waiting for some background confirmation and timeout expired), in that case I 
guess there is no really working solution. Try adding parameter SO_TIMEOUT into 
the axis2.xml (but it won´t help). You can take a look at my (I guess two days 
old) post called Any real solution to Socket Timeout or something like this. 
You can also try to use calling with returning object (I used String which 
indicates success...) than you can just throw this object away.. I hope it 
helps. But I am sure that uninstallation of internet security tools is NOT a 
good solution :)

__
 Od: [EMAIL PROTECTED]
 Komu: axis-user@ws.apache.org, Jernigan, TieSha [EMAIL PROTECTED]
 CC: axis-user@ws.apache.org
 Datum: 16.01.2007 20:24
 Předmět: Re: SocketTimeOutException 

I had the same problem :
you can try to update timeout value in axis.xml.
But for me the problem was fixed to uninstall my security internet tools
(stopping firewall was not enough ...)



Quoting Jernigan, TieSha [EMAIL PROTECTED]:

 When running my Axis2 Client, after about 20-30 seconds I get the
 following exception. My system does not recover from this exception. I
 am assuming that when the exception occurs the socket gets closed, so I
 never get a response back from my server. Is there a way that I can
 increase the timeout? Or are there any other suggestions on how to fix
 the problem?



 ERROR espace.services.galelite.client.BaseWebServiceClient  - Server
 responded with the Exception[Read timed out; nested exception is:

 java.net.SocketTimeoutException: Read timed out; nested
 exception is:

 org.apache.axis2.AxisFault: Read timed out; nested
exception
 is:

 java.net.SocketTimeoutException: Read timed out]

 [2007.01.16 at 13:35:01 EST] Server responded with the Exception[Read
 timed out; nested exception is:

 java.net.SocketTimeoutException: Read timed out; nested
 exception is:

 org.apache.axis2.AxisFault: Read timed out; nested
exception
 is:

 java.net.SocketTimeoutException: Read timed out]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Custom exception mapping with JibX

2007-01-16 Thread Dennis Sosnoski

Vedha Vijayan wrote:

 I'm trying to expose an existing service as a Web service. I've got few
queries regarding the process involved in doing so and about custom
exception mapping with JiBX. 


1. I generated the bindings (JiBX) and the schema for the classes
involved. The recommended procedure of creating a wsdl is to have an
abstract wsdl that defines the messages and then a concrete wsdl that
defines the bindings and the services. Is there a automated process to
go from the xsd and the Java class to generating the wsdl's? I had to
hand-code/edit the wsdl created using java2wsdl command. Is there any
tool that takes in the schema generated as a parameter and uses that to
automatically generate the wsdl? How do people go about devising means
to generate abstract and concrete wsdl's?
  
There currently is no automated process to go from the xsd and Java 
class to generating the WSDL(s), but I'm working on a tool of that type 
and will post to this list when something is available.


I'm curious about your abstract+concrete WSDL process, though - who 
recommends this procedure, and what benefits do you see as a result?

2. I'm trying to expose an operation that defines a custom exception.
The custom exception basically extends from java.lang.Exception and uses
exception chaining. I understand that I need to define a mapping for the
custom exception class. I try to create the binding and the schema using
the JiBX generator tools, but there is some problem or the other with
respect to java.lang.StackTraceElement. It does not have a no-argument
constructor or the schema definitions for java.lang.Throwable is not
properly created. This is something that people here must have
encountered. Can someone pin-point the right approach or if i'm going
wrong here. I'd like to know if people write their own
serializers/deserializers for mapping custom exceptions?
  
Exceptions are generally converted into SOAP Fault messages. I've posted 
an example of how this works when using Axis2 with JiBX data binding at 
http://www.sosnoski.com/jibx-wiki/space/axis2-jibx


 - Dennis

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] Session Management and WS-Addressing

2007-01-16 Thread Tim, Jane and Chelsea Johnson
I am running the latest version of axis2 - 1.1.1. I am trying to use session 
management via WS-Addressing.
In soapmonitor I can see the WS-Addressing headers going out on the request 
to the server. But my service's response doesn't have any of the 
WS-Addressing headers (specifically the groupID header). Addressing is 
enabled globally via the entry in Axis2.xml. In service.xml I set scope for 
the service to be soapsession.


This is what the client is sending. Is there something I need to add or 
change to get the service to re-act with WS-Addressing headers.


?xml version='1.0' encoding='utf-8'?
soapenv:Envelope xmlns:wsa=http://www.w3.org/2005/08/addressing; 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;

 soapenv:Header
   wsa:Tohttp://localhost:8080/axis2/services/AiMessageServices/wsa:To
   wsa:ReplyTo
 wsa:Addresshttp://www.w3.org/2005/08/addressing/anonymous/wsa:Address
   /wsa:ReplyTo
   wsa:MessageIDurn:uuid:F18B205BFF468A597911689950656872/wsa:MessageID
   wsa:Actionurn:login/wsa:Action
 /soapenv:Header
 soapenv:Body
   Reqx
 HID124/HID
 CID2567/CID
 ReqNoSJPC120.y/ReqNo
 CRYR2003/CRYR
   /Reqx
 /soapenv:Body
/soapenv:Envelope 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Question axis 2 Java2WSDL tool

2007-01-16 Thread Anne Thomas Manes

In Axis 1.x, you must specify style=unwrapped in the WSDD, or you
must ensure that the WSDL conforms to the wrapped doc/literal
convention.

On 1/16/07, Harish Hirasave [EMAIL PROTECTED] wrote:

Hello Anne,

I could not find this feature of automatic unwrapping. The Java2WSDL and
WSDL2Java in axis2-1.1.1 work in the same way as the axis2-1.1. The code
gets generated wrapped and I am unable to un wrap the classes and get
return types as basic java objects. Please tell how this feature of
unwrapping has been implemented and how to use it.

Thanks
Harish

-Original Message-
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Friday, January 12, 2007 7:06 AM
To: axis-user@ws.apache.org
Subject: Re: Question axis 2 Java2WSDL tool

Try using Axis2 1.1.1. What you're looking for is automatic
unwrapping of the wrapper element, and that has only recently been
implemented.

Anne

On 1/11/07, Harish Hirasave [EMAIL PROTECTED] wrote:




 I want document literal style but not wrapped. I am trying to convert
an
 application from axis 1.2 to axis 2.1 and hence would like to use
document
 literal but I don't want the wrapper objects as the client that would
use
 the service will not be a java client. Is there a way I can do this?



  


 From: Manoj Khangaonkar [mailto:[EMAIL PROTECTED]
  Sent: Thursday, January 11, 2007 3:18 PM
  To: axis-user@ws.apache.org
  Subject: Re: Question axis 2 Java2WSDL tool





 Harish,





 By default , AXIS2 java2WSDL generates what is called doc lit wrapped
style
 WSDL.





 My guess is you want RPC lit style WSDL - like below





 wsdl:message
 name=getEligibleIVRPromotionsResponseMessage

 wsdl:part name=part1 element=xsd:string/

 /wsdl:message


 I think AXIS2 java2WSDL does not support this ( not 100% sure) --- You
might
 want to try using the original AXIS java2WSDL - You typically pass in
the
 WSDL


 style as a command line parameter.





 In the original java2WSDL you could say java2WSDL -style rpc
.





 in AXIS2 , you would java2WSDL -st  but I am not sure what the
supported
 values are.





 Mj






 On 1/11/07, Harish Hirasave [EMAIL PROTECTED] wrote:



 Hi,



 I have a pojo from which I am trying a generate a wsdl. The pojo has
the
 method



 public String getEligibleIVRPromotions(String phone)

 throws RemoteException

 {

 String errorMsg =
 IVRServiceSoapBindingImpl.getEligibleIVRPromotions(String):;

 String xml = null;

 return xml;

 }



 This method returns a String object.



 When I convert it to wsdl using the java2WSDL tool the wsdl method
gets
 generated with a getEligibleIVRPromotionsRequest Object as input and
 getEligibleIVRPromotionsResponse Object as the return
 object.



 How do I prevent this and  make the method return a String object and
not a
 wrapper object getEligibleIVRPromotionsResponse? Attached
 is the wsdl. Please help.







 Thanks

 Harish


 -
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Question axis 2 Java2WSDL tool

2007-01-16 Thread Javier Kohen
Hello Anne,

El mar, 16-01-2007 a las 21:03 -0500, Anne Thomas Manes escribió:
 In Axis 1.x, you must specify style=unwrapped in the WSDD, or you
 must ensure that the WSDL conforms to the wrapped doc/literal
 convention.

Where would that convention be documented? I tried to follow the
instructions in your blog to the letter, and still nothing.

By the way, I'm using Axis on the client side only, so I don't have a
WSDD. I also need to unwrap faults, if it makes any difference.

Thanks,

 On 1/16/07, Harish Hirasave [EMAIL PROTECTED] wrote:
  Hello Anne,
 
  I could not find this feature of automatic unwrapping. The Java2WSDL and
  WSDL2Java in axis2-1.1.1 work in the same way as the axis2-1.1. The code
  gets generated wrapped and I am unable to un wrap the classes and get
  return types as basic java objects. Please tell how this feature of
  unwrapping has been implemented and how to use it.
 
  Thanks
  Harish
 
  -Original Message-
  From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
  Sent: Friday, January 12, 2007 7:06 AM
  To: axis-user@ws.apache.org
  Subject: Re: Question axis 2 Java2WSDL tool
 
  Try using Axis2 1.1.1. What you're looking for is automatic
  unwrapping of the wrapper element, and that has only recently been
  implemented.
 
  Anne
 
  On 1/11/07, Harish Hirasave [EMAIL PROTECTED] wrote:
  
  
  
  
   I want document literal style but not wrapped. I am trying to convert
  an
   application from axis 1.2 to axis 2.1 and hence would like to use
  document
   literal but I don't want the wrapper objects as the client that would
  use
   the service will not be a java client. Is there a way I can do this?
  
  
  

  
  
   From: Manoj Khangaonkar [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 11, 2007 3:18 PM
To: axis-user@ws.apache.org
Subject: Re: Question axis 2 Java2WSDL tool
  
  
  
  
  
   Harish,
  
  
  
  
  
   By default , AXIS2 java2WSDL generates what is called doc lit wrapped
  style
   WSDL.
  
  
  
  
  
   My guess is you want RPC lit style WSDL - like below
  
  
  
  
  
   wsdl:message
   name=getEligibleIVRPromotionsResponseMessage
  
   wsdl:part name=part1 element=xsd:string/
  
   /wsdl:message
  
  
   I think AXIS2 java2WSDL does not support this ( not 100% sure) --- You
  might
   want to try using the original AXIS java2WSDL - You typically pass in
  the
   WSDL
  
  
   style as a command line parameter.
  
  
  
  
  
   In the original java2WSDL you could say java2WSDL -style rpc
  .
  
  
  
  
  
   in AXIS2 , you would java2WSDL -st  but I am not sure what the
  supported
   values are.
  
  
  
  
  
   Mj
  
  
  
  
  
  
   On 1/11/07, Harish Hirasave [EMAIL PROTECTED] wrote:
  
  
  
   Hi,
  
  
  
   I have a pojo from which I am trying a generate a wsdl. The pojo has
  the
   method
  
  
  
   public String getEligibleIVRPromotions(String phone)
  
   throws RemoteException
  
   {
  
   String errorMsg =
   IVRServiceSoapBindingImpl.getEligibleIVRPromotions(String):;
  
   String xml = null;
  
   return xml;
  
   }
  
  
  
   This method returns a String object.
  
  
  
   When I convert it to wsdl using the java2WSDL tool the wsdl method
  gets
   generated with a getEligibleIVRPromotionsRequest Object as input and
   getEligibleIVRPromotionsResponse Object as the return
   object.
  
  
  
   How do I prevent this and  make the method return a String object and
  not a
   wrapper object getEligibleIVRPromotionsResponse? Attached
   is the wsdl. Please help.
  
  
  
  
  
  
  
   Thanks
  
   Harish
  
  
   -
To unsubscribe, e-mail:
   [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Javier Kohen [EMAIL PROTECTED]
ICQ: blashyrkh #2361802
Jabber: [EMAIL PROTECTED]


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente


Axis2 1.1.1 with XMLBeans as the Data binding framework.

2007-01-16 Thread Sriram Vaidyanathan
Hello,
   I tried to migrate to axis2 1.1.1 with XMLBeans as the data-binding 
framework. My WSDL actually references XSDs in it through a relative path. When 
I run the WSDL2Java command I get a FileNotFoundException. This used to work 
before with one of the Axis2 1.0 nightly build versions I had earlier.
 
This is the exception stacktrace:
 
Exception in thread main 
org.apache.axis2.wsdl.codegen.CodeGenerationException: 
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
 [java]   at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
 [java]   at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
 [java]   at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
 [java] Caused by: java.lang.RuntimeException: 
java.lang.reflect.InvocationTargetException
 [java]   at 
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:92)
 [java]   at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)
 [java]   ... 2 more
 [java] Caused by: java.lang.reflect.InvocationTargetException
 [java]   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java]   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [java]   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [java]   at java.lang.reflect.Method.invoke(Method.java:585)
 [java]   at 
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:82)
 [java]   ... 3 more
 [java] Caused by: java.lang.RuntimeException: 
org.apache.xmlbeans.XmlException: error: Problem parsing referenced XML 
resource - java.io.FileNotFoundException: \BMSDispositionService.xsd (The 
system cannot find the file specified)
 [java]   at 
org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:242)
 [java]   ... 8 more
 [java] Caused by: org.apache.xmlbeans.XmlException: error: Problem parsing 
referenced XML resource - java.io.FileNotFoundException: \SampleService.xsd 
(The system cannot find the file specified)
 
Any help on this would be appreciated...
 
Thanks,
Sriram


Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

2007-01-16 Thread Paul Fremantle

Sriram

Please can you post the WSDL/XSD?

Thanks

Paul

On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:





Hello,

   I tried to migrate to axis2 1.1.1 with XMLBeans as the data-binding
framework. My WSDL actually references XSDs in it through a relative path.
When I run the WSDL2Java command I get a FileNotFoundException. This used to
work before with one of the Axis2 1.0 nightly build versions I had earlier.



This is the exception stacktrace:



Exception in thread main
org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException

 [java]   at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)

 [java]   at
org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)

 [java]   at
org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)

 [java] Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException

 [java]   at
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:92)

 [java]   at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)

 [java]   ... 2 more

 [java] Caused by:
java.lang.reflect.InvocationTargetException

 [java]   at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 [java]   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

 [java]   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

 [java]   at java.lang.reflect.Method.invoke(Method.java:585)

 [java]   at
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:82)

 [java]   ... 3 more

 [java] Caused by: java.lang.RuntimeException:
org.apache.xmlbeans.XmlException: error: Problem parsing
referenced XML resource - java.io.FileNotFoundException:
\BMSDispositionService.xsd (The system cannot find the file specified)

 [java]   at
org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:242)

 [java]   ... 8 more

 [java] Caused by: org.apache.xmlbeans.XmlException:
error: Problem parsing referenced XML resource -
java.io.FileNotFoundException: \SampleService.xsd (The system cannot find
the file specified)



Any help on this would be appreciated…



Thanks,

Sriram



--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

Oxygenating the Web Service Platform, www.wso2.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Simple stand-alone client to invoke web services

2007-01-16 Thread Paul Fremantle

Footh

Can you please give more details when you say the default constructor
doesn't work?

ServiceClient sc = new ServiceClient();

should work fine without an external repository or axis2.xml. Also if
you need modules like addressing in a simple client like this you can
just put the .mar file in the classpath.

Paul

On 1/16/07, footh [EMAIL PROTECTED] wrote:

Thanks for the reply.

I already have something very similar to that.  I was
hoping, however, to avoid having to use external files
to create the configuration.

But, I can concede on that if it is absolutely
necessary.  However, do I need to use the axis2.xml
file that comes with Axis2?  It seems to have a bunch
of parameters that I am not interested in.  In fact,
I'm not even sure what parameters I need if I want to
simply invoke and request-response service over HTTP.

Additionally, do I need to have the repository
directory?  I notice that the addressing module is in
there, but can I just stick that with the rest of the
.jar files?
--- Yadav, Yogendra (IT)
[EMAIL PROTECTED] wrote:

 Try this

   ConfigurationContext ctx =

ConfigurationContextFactory.createConfigurationContextFromFileSystem(C:
 /work/AXIS2-Examples/for-client-testing/repository,

C:/work/AXIS2-Examples/for-client-testing/axis2.xml);
   ServiceClient sc = new ServiceClient(ctx,
 null);
   Options opt = new Options();
   opt.setTo(new

EndpointReference(http://localhost:8080/axis2/services/XSDJAXBService;)
 );
   opt.setTransportInProtocol(
 Constants.TRANSPORT_HTTP );
   opt.setAction(ServiceMethod);
   sc.engageModule( new QName(
 Constants.MODULE_ADDRESSING ) );
   sc.setOptions(opt);

   OMElement payload = getPayload();
   OMElement ol = sc.sendReceive( payloadRoot );


 -Original Message-
 From: footh [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 16, 2007 3:07 PM
 To: axis-user@ws.apache.org
 Subject: [Axis2] Simple stand-alone client to invoke
 web services

 I have a separate java web application running under
 Tomcat 5.5 in which
 I want to dynamically invoke web services using
 Axis2.

 I was able to easily do this using Axis1, but I am
 running into a
 problem with Axis2.  I've followed the simple
 examples in the
 documentation with creating a ServiceClient object
 and then sending a
 payload.

 However, I am having trouble with the ServiceClient
 object.  I was
 creating it with the default constructor, but that
 doesn't work without
 the default axis2.xml file and repository.

 So, I looked into creating my own
 ContextConfiguration, but I can't seem to find any
 way of doing it
 dynamically.  Do I have to point to a separate file
 every time
 (axis2.xml) or can I create the configuration in
 code alone?  Can anyone
 point me to examples of how this might be done?





 
 Food fight? Enjoy some healthy debate
 in the Yahoo! Answers Food  Drink QA.

http://answers.yahoo.com/dir/?link=listsid=396545367


-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]



 NOTICE: If received in error, please destroy and
 notify sender. Sender does not intend to waive
 confidentiality or privilege. Use of this email is
 prohibited when received in error.


-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]







Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

Oxygenating the Web Service Platform, www.wso2.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Axis2 1.2 release plan

2007-01-16 Thread Eran Chinthaka
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Deepal and all,

Great list. Anyway, I hope I can comment on this plan, even though I
won't be able contribute much, in terms of coding, to the next release.

I have a small doubt whether all these are doable within 6 weeks, but I
assume you have planned well. Anyway isn't it better to identify most
critical features, as a minimum to be satisfied?

 Hi All;
 
 We released Axis2 1.1.1 few days ago and now its time to think about the
 next major release (Axis2 1.2). Before doing that we have big item left
 in our hand is to merge Axis2 trunk and 1.1 branch. So we need to plan
 on doing that on this week (I may try this time :( ).
 
 In Axis2 release I would like to see following features in the release
 in addition to the JIRAs in the JIRA list.
  - WSDL 2.0 fully support
For this I think you might want to consider merging the branch Keith is
now working. I think this is bit tricky as most of the WSDL 1.1 features
are broken in that branch. Keith correct me if I am wrong.

  - POJO - annotation
  - REST Annotation
Hmm, cool feature. I hope this will help our annotations fans a lot. We
have a very good REST support, but not exposed well enough and this will
help to overcome that.

  - JAX-WS integration
  - JAX-WS -annotation
  - Un-wrapping (Response)
  - ADB - missing schema support
  - Move security  and Sawan module from Axis2 trunk
  - Maven2 support

I hope documentation on using Maven2 with Axis2 will also be updated
(created), with this move.

Other than that, +1 for the release plan. I hope you will be the release
manager for this release :)

- -- Chinthaka
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFrZiXjON2uBzUhh8RAhnxAJ9mHj+zY0iQlaqxZ3TXGl5JH6btyQCdH8O8
j7aGnr4bNgcMcbmeHsXYUXU=
=byxr
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Axis2 1.1.1 with XMLBeans as the Data binding framework.

2007-01-16 Thread Sriram Vaidyanathan
Hi Paul,
   Here is the snippet, which is used to include the XSD in the WSDL.

xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema;
attributeFormDefault=unqualified 
elementFormDefault=qualified
targetNamespace=http://www.sample.com/test; 
version=2.1.0

xsd:include schemaLocation=SampleService.xsd /
/xsd:schema


Both the WSDL and the XSD are in the same folder.  I am just posting the 
snippet, as the WSDL itself is pretty large.  

Thanks,
Sriram Vaidyanathan
Software Engineer - Java
Copart Auto Auctions, Inc.
4665 Business Center Drive
Fairfield, CA 94534
www.copart.com http://www.copart.com/ 
(707) 639-5248

-Original Message-
From: Paul Fremantle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 16, 2007 7:21 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

Sriram

Please can you post the WSDL/XSD?

Thanks

Paul

On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:




 Hello,

I tried to migrate to axis2 1.1.1 with XMLBeans as the data-binding
 framework. My WSDL actually references XSDs in it through a relative path.
 When I run the WSDL2Java command I get a FileNotFoundException. This used to
 work before with one of the Axis2 1.0 nightly build versions I had earlier.



 This is the exception stacktrace:



 Exception in thread main
 org.apache.axis2.wsdl.codegen.CodeGenerationException:
 java.lang.RuntimeException:
 java.lang.reflect.InvocationTargetException

  [java]   at
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)

  [java]   at
 org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)

  [java]   at
 org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)

  [java] Caused by: java.lang.RuntimeException:
 java.lang.reflect.InvocationTargetException

  [java]   at
 org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:92)

  [java]   at
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)

  [java]   ... 2 more

  [java] Caused by:
 java.lang.reflect.InvocationTargetException

  [java]   at
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  [java]   at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

  [java]   at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  [java]   at java.lang.reflect.Method.invoke(Method.java:585)

  [java]   at
 org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:82)

  [java]   ... 3 more

  [java] Caused by: java.lang.RuntimeException:
 org.apache.xmlbeans.XmlException: error: Problem parsing
 referenced XML resource - java.io.FileNotFoundException:
 \BMSDispositionService.xsd (The system cannot find the file specified)

  [java]   at
 org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:242)

  [java]   ... 8 more

  [java] Caused by: org.apache.xmlbeans.XmlException:
 error: Problem parsing referenced XML resource -
 java.io.FileNotFoundException: \SampleService.xsd (The system cannot find
 the file specified)



 Any help on this would be appreciated...



 Thanks,

 Sriram


--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

Oxygenating the Web Service Platform, www.wso2.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Need help to get HTTP Header

2007-01-16 Thread Thilina Gunarathne

Hi,
Thanx for logging the JIRA.
I've committed a fix yesterday afternoon (15 hours ago)..  Please try
the latest nightly  and let us know the feedback..


And any help that you guys can provide
on this front will go a long way to promoting the Axis2 in our organization

Have Fun!!

Cheers,
Thilina



-Original Message-
From: Thilina Gunarathne [mailto:[EMAIL PROTECTED]
Sent: Friday, January 12, 2007 8:23 PM
To: axis-user@ws.apache.org
Subject: Re: Need help to get HTTP Header

Yes... IIRC I also witnessed the above behaviour... I'm currently
doing a cleanup of the transports and  planning on fixing the above
too...

Please log a JIRA for the record purposes... So that we'll not forget
it..:)

Thanks,
Thilina

On 1/13/07, Gnanasekaran Vinayakamurthy
[EMAIL PROTECTED] wrote:
 Hi

 When I run axis2 client in debug mode, I could inspect the msgcontext
 object, which has Http header values as in the order of

msgcontext--operationContext--properties--TRANSPORT_IN--AutoCloseInp

utStream--watcher--HttpMethodBase--responseHeaders(HeaderGroup)--Hea
 der

 And I think Transport Phase in Axis2 missed to parse the Http
header(as
 in above) from input stream and thus missed not setting property
 TRANSPORT_HEADERS in msgContext.

 Is it a bug in axis2?

 Could any one please clarify?


 Thanks,
 Vinay

 -Original Message-
 From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 11, 2007 9:43 PM
 To: axis-user@ws.apache.org
 Subject: Re: Need help to get HTTP Header

 Hi Gnanasekaran ;

 In the server side you can get transport header from message context
as
 follows;
 Map headers = (Map)
 msgContext.getProperty(MessageContext.TRANSPORT_HEADERS);

  Hi all,
 
  Is there any way where I can get response HTTP Header data in Axis2?
 
  We are trying to get cookie from Http header, but no luck so far
  we are getting header values from xml soap message only, but not
able
  to get the HTTP Header.
 
  Below is the soap response from the server (captured using tcpmon)
 
 


 **
 
  HTTP/1.1 200 OK
 
  Date: Thu, 11 Jan 2007 18:21:34 GMT
 
  Server: Microsoft-IIS/6.0
 
  MicrosoftOfficeWebServer: 5.0_Pub
 
  X-Powered-By: ASP.NET
 
  X-AspNet-Version: 2.0.50727
 
  RSAuthenticationHeader: sqlAuthCookie
 
  Set-Cookie:
 

sqlAuthCookie=2E4D80C2D790C877650865B5FCD3E0F1DCC565C68BCCB22B3167B7063C

61CBB11ED07D75F85354C1E56F17B46E6F3246D97F202C53424CA028F8DE4421BE498173
 FD58E42E8D2E55C3059167301E7E6C;
  path=/; HttpOnly
 
  Cache-Control: private, max-age=0
 
 
 
  Content-Type: text/xml; charset=utf-8
 
 
 
  Content-Length: 794
 
 
 
 
 



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [axis2] tomcat manager html start / stop - mess

2007-01-16 Thread Thilina Gunarathne

BUT NOTHING was logged in the tomcat stdout_20070116.log on (re)start ?


I would expect that myservice5.init() is called again and logged.

then I stop again, wait for confirmation, start again, wait for confirmation
and the only service which did make it after a long time was the Library
service from the axis2 examples


Please log JIRA's for the above issues...

~Thilina
--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

2007-01-16 Thread Paul Fremantle

Can you try ./SampleService.xsd just in case that fixes it?

Paul

On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:

Hi Paul,
   Here is the snippet, which is used to include the XSD in the WSDL.

xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema;
attributeFormDefault=unqualified 
elementFormDefault=qualified
targetNamespace=http://www.sample.com/test; 
version=2.1.0

xsd:include schemaLocation=SampleService.xsd /
/xsd:schema


Both the WSDL and the XSD are in the same folder.  I am just posting the 
snippet, as the WSDL itself is pretty large.

Thanks,
Sriram Vaidyanathan
Software Engineer - Java
Copart Auto Auctions, Inc.
4665 Business Center Drive
Fairfield, CA 94534
www.copart.com http://www.copart.com/
(707) 639-5248

-Original Message-
From: Paul Fremantle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 16, 2007 7:21 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

Sriram

Please can you post the WSDL/XSD?

Thanks

Paul

On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:




 Hello,

I tried to migrate to axis2 1.1.1 with XMLBeans as the data-binding
 framework. My WSDL actually references XSDs in it through a relative path.
 When I run the WSDL2Java command I get a FileNotFoundException. This used to
 work before with one of the Axis2 1.0 nightly build versions I had earlier.



 This is the exception stacktrace:



 Exception in thread main
 org.apache.axis2.wsdl.codegen.CodeGenerationException:
 java.lang.RuntimeException:
 java.lang.reflect.InvocationTargetException

  [java]   at
 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)

  [java]   at
 org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)

  [java]   at
 org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)

  [java] Caused by: java.lang.RuntimeException:
 java.lang.reflect.InvocationTargetException

  [java]   at
 
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:92)

  [java]   at
 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)

  [java]   ... 2 more

  [java] Caused by:
 java.lang.reflect.InvocationTargetException

  [java]   at
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  [java]   at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

  [java]   at
 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  [java]   at java.lang.reflect.Method.invoke(Method.java:585)

  [java]   at
 
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:82)

  [java]   ... 3 more

  [java] Caused by: java.lang.RuntimeException:
 org.apache.xmlbeans.XmlException: error: Problem parsing
 referenced XML resource - java.io.FileNotFoundException:
 \BMSDispositionService.xsd (The system cannot find the file specified)

  [java]   at
 
org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:242)

  [java]   ... 8 more

  [java] Caused by: org.apache.xmlbeans.XmlException:
 error: Problem parsing referenced XML resource -
 java.io.FileNotFoundException: \SampleService.xsd (The system cannot find
 the file specified)



 Any help on this would be appreciated...



 Thanks,

 Sriram


--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

Oxygenating the Web Service Platform, www.wso2.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

Oxygenating the Web Service Platform, www.wso2.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Axis2 1.1.1 with XMLBeans as the Data binding framework.

2007-01-16 Thread Sriram Vaidyanathan
Hi Paul,
Tried that option too... same error. Actually we were using one of the 
Axis2 1.0 nightly versions and it used to resolve the relative directory 
without a problem. Could there be a problem that I am only using the selected 
jars from Axis21.1.1 distribution.


Thanks
Sriram Vaidyanathan



-Original Message-
From: Paul Fremantle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 16, 2007 8:13 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

Can you try ./SampleService.xsd just in case that fixes it?

Paul

On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:
 Hi Paul,
Here is the snippet, which is used to include the XSD in the WSDL.

 xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema;
 attributeFormDefault=unqualified 
 elementFormDefault=qualified
 targetNamespace=http://www.sample.com/test; 
 version=2.1.0

 xsd:include schemaLocation=SampleService.xsd /
 /xsd:schema


 Both the WSDL and the XSD are in the same folder.  I am just posting the 
 snippet, as the WSDL itself is pretty large.

 Thanks,
 Sriram Vaidyanathan
 Software Engineer - Java
 Copart Auto Auctions, Inc.
 4665 Business Center Drive
 Fairfield, CA 94534
 www.copart.com http://www.copart.com/
 (707) 639-5248

 -Original Message-
 From: Paul Fremantle [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 16, 2007 7:21 PM
 To: axis-user@ws.apache.org
 Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

 Sriram

 Please can you post the WSDL/XSD?

 Thanks

 Paul

 On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:
 
 
 
 
  Hello,
 
 I tried to migrate to axis2 1.1.1 with XMLBeans as the data-binding
  framework. My WSDL actually references XSDs in it through a relative path.
  When I run the WSDL2Java command I get a FileNotFoundException. This used to
  work before with one of the Axis2 1.0 nightly build versions I had earlier.
 
 
 
  This is the exception stacktrace:
 
 
 
  Exception in thread main
  org.apache.axis2.wsdl.codegen.CodeGenerationException:
  java.lang.RuntimeException:
  java.lang.reflect.InvocationTargetException
 
   [java]   at
  org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
 
   [java]   at
  org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
 
   [java]   at
  org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
 
   [java] Caused by: java.lang.RuntimeException:
  java.lang.reflect.InvocationTargetException
 
   [java]   at
  org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:92)
 
   [java]   at
  org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)
 
   [java]   ... 2 more
 
   [java] Caused by:
  java.lang.reflect.InvocationTargetException
 
   [java]   at
  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
   [java]   at
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 
   [java]   at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
   [java]   at java.lang.reflect.Method.invoke(Method.java:585)
 
   [java]   at
  org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:82)
 
   [java]   ... 3 more
 
   [java] Caused by: java.lang.RuntimeException:
  org.apache.xmlbeans.XmlException: error: Problem parsing
  referenced XML resource - java.io.FileNotFoundException:
  \BMSDispositionService.xsd (The system cannot find the file specified)
 
   [java]   at
  org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:242)
 
   [java]   ... 8 more
 
   [java] Caused by: org.apache.xmlbeans.XmlException:
  error: Problem parsing referenced XML resource -
  java.io.FileNotFoundException: \SampleService.xsd (The system cannot find
  the file specified)
 
 
 
  Any help on this would be appreciated...
 
 
 
  Thanks,
 
  Sriram


 --
 Paul Fremantle
 VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

 http://bloglines.com/blog/paulfremantle
 [EMAIL PROTECTED]

 Oxygenating the Web Service Platform, www.wso2.com

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

Oxygenating the Web Service Platform, www.wso2.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For 

Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

2007-01-16 Thread Paul Fremantle

I don't understand what you mean. Do you have a mix of 1.0 and 1.1.1 jars?

Paul

On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:

Hi Paul,
Tried that option too... same error. Actually we were using one of the 
Axis2 1.0 nightly versions and it used to resolve the relative directory 
without a problem. Could there be a problem that I am only using the selected 
jars from Axis21.1.1 distribution.


Thanks
Sriram Vaidyanathan



-Original Message-
From: Paul Fremantle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 16, 2007 8:13 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

Can you try ./SampleService.xsd just in case that fixes it?

Paul

On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:
 Hi Paul,
Here is the snippet, which is used to include the XSD in the WSDL.

 xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema;
 attributeFormDefault=unqualified 
elementFormDefault=qualified
 targetNamespace=http://www.sample.com/test; 
version=2.1.0

 xsd:include schemaLocation=SampleService.xsd /
 /xsd:schema


 Both the WSDL and the XSD are in the same folder.  I am just posting the 
snippet, as the WSDL itself is pretty large.

 Thanks,
 Sriram Vaidyanathan
 Software Engineer - Java
 Copart Auto Auctions, Inc.
 4665 Business Center Drive
 Fairfield, CA 94534
 www.copart.com http://www.copart.com/
 (707) 639-5248

 -Original Message-
 From: Paul Fremantle [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 16, 2007 7:21 PM
 To: axis-user@ws.apache.org
 Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

 Sriram

 Please can you post the WSDL/XSD?

 Thanks

 Paul

 On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:
 
 
 
 
  Hello,
 
 I tried to migrate to axis2 1.1.1 with XMLBeans as the data-binding
  framework. My WSDL actually references XSDs in it through a relative path.
  When I run the WSDL2Java command I get a FileNotFoundException. This used to
  work before with one of the Axis2 1.0 nightly build versions I had earlier.
 
 
 
  This is the exception stacktrace:
 
 
 
  Exception in thread main
  org.apache.axis2.wsdl.codegen.CodeGenerationException:
  java.lang.RuntimeException:
  java.lang.reflect.InvocationTargetException
 
   [java]   at
  
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
 
   [java]   at
  org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
 
   [java]   at
  org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
 
   [java] Caused by: java.lang.RuntimeException:
  java.lang.reflect.InvocationTargetException
 
   [java]   at
  
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:92)
 
   [java]   at
  
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)
 
   [java]   ... 2 more
 
   [java] Caused by:
  java.lang.reflect.InvocationTargetException
 
   [java]   at
  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
   [java]   at
  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 
   [java]   at
  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
   [java]   at java.lang.reflect.Method.invoke(Method.java:585)
 
   [java]   at
  
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:82)
 
   [java]   ... 3 more
 
   [java] Caused by: java.lang.RuntimeException:
  org.apache.xmlbeans.XmlException: error: Problem parsing
  referenced XML resource - java.io.FileNotFoundException:
  \BMSDispositionService.xsd (The system cannot find the file specified)
 
   [java]   at
  
org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:242)
 
   [java]   ... 8 more
 
   [java] Caused by: org.apache.xmlbeans.XmlException:
  error: Problem parsing referenced XML resource -
  java.io.FileNotFoundException: \SampleService.xsd (The system cannot find
  the file specified)
 
 
 
  Any help on this would be appreciated...
 
 
 
  Thanks,
 
  Sriram


 --
 Paul Fremantle
 VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

 http://bloglines.com/blog/paulfremantle
 [EMAIL PROTECTED]

 Oxygenating the Web Service Platform, www.wso2.com

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

Oxygenating the Web Service 

RE: Axis2 1.1.1 with XMLBeans as the Data binding framework.

2007-01-16 Thread Sriram Vaidyanathan
No, I am using only 1.1.1 jars  From 1.1.1  release since we have  XmlBeans as 
the data-binding framework,  I don't use the axis2-jibx1.1.1.jar and 
axis2-adb1.1.1.jar

Thanks
Sriram Vaidyanathan
Software Engineer - Java
Copart Auto Auctions, Inc.
4665 Business Center Drive
Fairfield, CA 94534
www.copart.com http://www.copart.com/ 
(707) 639-5248

-Original Message-
From: Paul Fremantle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 16, 2007 8:24 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

I don't understand what you mean. Do you have a mix of 1.0 and 1.1.1 jars?

Paul

On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:
 Hi Paul,
 Tried that option too... same error. Actually we were using one of the 
 Axis2 1.0 nightly versions and it used to resolve the relative directory 
 without a problem. Could there be a problem that I am only using the selected 
 jars from Axis21.1.1 distribution.


 Thanks
 Sriram Vaidyanathan



 -Original Message-
 From: Paul Fremantle [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 16, 2007 8:13 PM
 To: axis-user@ws.apache.org
 Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

 Can you try ./SampleService.xsd just in case that fixes it?

 Paul

 On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:
  Hi Paul,
 Here is the snippet, which is used to include the XSD in the WSDL.
 
  xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  attributeFormDefault=unqualified 
  elementFormDefault=qualified
  targetNamespace=http://www.sample.com/test; 
  version=2.1.0
 
  xsd:include schemaLocation=SampleService.xsd /
  /xsd:schema
 
 
  Both the WSDL and the XSD are in the same folder.  I am just posting the 
  snippet, as the WSDL itself is pretty large.
 
  Thanks,
  Sriram Vaidyanathan
  Software Engineer - Java
  Copart Auto Auctions, Inc.
  4665 Business Center Drive
  Fairfield, CA 94534
  www.copart.com http://www.copart.com/
  (707) 639-5248
 
  -Original Message-
  From: Paul Fremantle [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, January 16, 2007 7:21 PM
  To: axis-user@ws.apache.org
  Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.
 
  Sriram
 
  Please can you post the WSDL/XSD?
 
  Thanks
 
  Paul
 
  On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:
  
  
  
  
   Hello,
  
  I tried to migrate to axis2 1.1.1 with XMLBeans as the data-binding
   framework. My WSDL actually references XSDs in it through a relative path.
   When I run the WSDL2Java command I get a FileNotFoundException. This used 
   to
   work before with one of the Axis2 1.0 nightly build versions I had 
   earlier.
  
  
  
   This is the exception stacktrace:
  
  
  
   Exception in thread main
   org.apache.axis2.wsdl.codegen.CodeGenerationException:
   java.lang.RuntimeException:
   java.lang.reflect.InvocationTargetException
  
[java]   at
   org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
  
[java]   at
   org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
  
[java]   at
   org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
  
[java] Caused by: java.lang.RuntimeException:
   java.lang.reflect.InvocationTargetException
  
[java]   at
   org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:92)
  
[java]   at
   org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)
  
[java]   ... 2 more
  
[java] Caused by:
   java.lang.reflect.InvocationTargetException
  
[java]   at
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  
[java]   at
   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  
[java]   at
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  
[java]   at java.lang.reflect.Method.invoke(Method.java:585)
  
[java]   at
   org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:82)
  
[java]   ... 3 more
  
[java] Caused by: java.lang.RuntimeException:
   org.apache.xmlbeans.XmlException: error: Problem parsing
   referenced XML resource - java.io.FileNotFoundException:
   \BMSDispositionService.xsd (The system cannot find the file specified)
  
[java]   at
   org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:242)
  
[java]   ... 8 more
  
[java] Caused by: org.apache.xmlbeans.XmlException:
   error: Problem parsing referenced XML resource -
   java.io.FileNotFoundException: \SampleService.xsd (The system cannot find
   the file specified)
  
  
  
   Any help on this would be appreciated...
  
  
 

RE: Accessing variables outside AXIS war file

2007-01-16 Thread Brennan Spies
You can use SOAP connectors with JMX, if you have a JSR-160 compliant
implementation. If you need to have it from a non-server such as a Swing
client, you should consider using MX4J.

http://mx4j.sourceforge.net/docs/ch03s20.html


-Original Message-
From: Franck Coppola [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 16, 2007 10:50 AM
To: axis-user@ws.apache.org
Subject: Re: Accessing variables outside AXIS war file

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sérgio Sousa wrote:
 Hi,
 
 I think that what you really want is something like JMX.
 
 Take a look at 
 http://java.sun.com/javase/technologies/core/mntr-mgmt/javamanagement/

Unfortunately no. Using SOAP is a requirement of the customer and I have
no possibility of choosing an alternative here. I even do not have the
possibility of changing the WSDL definitions easily as they have been
choosen by a consortium.

What I really need is a SOAP stack I could call from a classical Servlet
(and some samples and howto).

Sincerly,

 Sérgio Sousa
 
 
 -Original Message-
 From: Franck Coppola [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Date: Tue, 16 Jan 2007 16:06:43 +0100
 Subject: Accessing variables outside AXIS war file
 
 
   Hi,
 
   We are currently in need of a SOAP stack for a client application
 project which needs remote control.
 
   More explicitely, we have a heavy client SWING application which must
 be controlable from a Web Service.
 
   To do this, we currently embed a Jetty web server (but we could change
 the embeded web server if we have a good reason to do it) and plan to
 load AXIS War (or a WAR file containing AXIS) into it.
 
   The problem is if we do this, we do not have access anymore to
 instances of objects we are supposed to control (the web application
 does not have access to the SWING app).
 
   However, if I try to implement a simple servlet into Jetty, then I can
 without any problem do my remote control. (The Handler inner class has
 access to everything).
 
   Do you have any way around ?
 
   Sincerly,
 

- -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFrR5zPuakOQiuJrIRAmElAJ4jIiQ5hyUL0jPl7uXqhewSMZbd7QCcCtvB
gcuhvuYBN7YkFUtgb7oDWAc=
=6ZgP
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

2007-01-16 Thread Amila Suriarachchi

On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:


No, I am using only 1.1.1 jars  From 1.1.1  release since we
have  XmlBeans as the data-binding framework,  I don't use the
axis2-jibx1.1.1.jar and axis2-adb1.1.1.jar



this should not cause any problem. Can you send a small sample wsdl and an
xsd file to reproduce your problem? I tried with some sample but they pick
the xsd file correctly.

Thanks

Sriram Vaidyanathan
Software Engineer - Java
Copart Auto Auctions, Inc.
4665 Business Center Drive
Fairfield, CA 94534
www.copart.com http://www.copart.com/
(707) 639-5248

-Original Message-
From: Paul Fremantle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 16, 2007 8:24 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

I don't understand what you mean. Do you have a mix of 1.0 and 1.1.1 jars?

Paul

On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:
 Hi Paul,
 Tried that option too... same error. Actually we were using one of
the Axis2 1.0 nightly versions and it used to resolve the relative
directory without a problem. Could there be a problem that I am only using
the selected jars from Axis21.1.1 distribution.


 Thanks
 Sriram Vaidyanathan



 -Original Message-
 From: Paul Fremantle [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 16, 2007 8:13 PM
 To: axis-user@ws.apache.org
 Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

 Can you try ./SampleService.xsd just in case that fixes it?

 Paul

 On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:
  Hi Paul,
 Here is the snippet, which is used to include the XSD in the WSDL.
 
  xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  attributeFormDefault=unqualified
elementFormDefault=qualified
  targetNamespace=http://www.sample.com/test;
version=2.1.0
 
  xsd:include schemaLocation=SampleService.xsd
/
  /xsd:schema
 
 
  Both the WSDL and the XSD are in the same folder.  I am just posting
the snippet, as the WSDL itself is pretty large.
 
  Thanks,
  Sriram Vaidyanathan
  Software Engineer - Java
  Copart Auto Auctions, Inc.
  4665 Business Center Drive
  Fairfield, CA 94534
  www.copart.com http://www.copart.com/
  (707) 639-5248
 
  -Original Message-
  From: Paul Fremantle [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, January 16, 2007 7:21 PM
  To: axis-user@ws.apache.org
  Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.
 
  Sriram
 
  Please can you post the WSDL/XSD?
 
  Thanks
 
  Paul
 
  On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED]
wrote:
  
  
  
  
   Hello,
  
  I tried to migrate to axis2 1.1.1 with XMLBeans as the
data-binding
   framework. My WSDL actually references XSDs in it through a relative
path.
   When I run the WSDL2Java command I get a FileNotFoundException. This
used to
   work before with one of the Axis2 1.0 nightly build versions I had
earlier.
  
  
  
   This is the exception stacktrace:
  
  
  
   Exception in thread main
   org.apache.axis2.wsdl.codegen.CodeGenerationException:
   java.lang.RuntimeException:
   java.lang.reflect.InvocationTargetException
  
[java]   at
   org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(
CodeGenerationEngine.java:224)
  
[java]   at
   org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
  
[java]   at
   org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
  
[java] Caused by: java.lang.RuntimeException:
   java.lang.reflect.InvocationTargetException
  
[java]   at
   org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(
XMLBeansExtension.java:92)
  
[java]   at
   org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(
CodeGenerationEngine.java:177)
  
[java]   ... 2 more
  
[java] Caused by:
   java.lang.reflect.InvocationTargetException
  
[java]   at
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  
[java]   at
   sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
  
[java]   at
   sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
  
[java]   at java.lang.reflect.Method.invoke(Method.java
:585)
  
[java]   at
   org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(
XMLBeansExtension.java:82)
  
[java]   ... 3 more
  
[java] Caused by: java.lang.RuntimeException:
   org.apache.xmlbeans.XmlException: error: Problem parsing
   referenced XML resource - java.io.FileNotFoundException:
   \BMSDispositionService.xsd (The system cannot find the file
specified)
  
[java]   at
   org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(
CodeGenerationUtility.java:242)
  
[java]   ... 8 more
  
[java] Caused by: 

Re: wsdl2java can not generate the client function which only has output.

2007-01-16 Thread Amila Suriarachchi

Can you send your wsdl?

On 1/17/07, Wang, Hailong (NIH/CIT) [C] [EMAIL PROTECTED] wrote:


 Hi Guys,



This is my first time to write email to this mailing list. When I try to
generate the client code for the operation which only has an output using
wsdl2java, actually wsdl2java doesn't generate the operation in stub class,
but does generate operation for those with the inputs. Can someone help me
on this? Thanks.





*Hailong Wang*

National Database for Autism Research(NDAR)

NIH/CIT/DECA

9000 Rockville Pike, Bld 12A/Room 2027

Bethesda, MD 20892

Phone:  301-402-3045

Fax:   301-480-0028

Email:   [EMAIL PROTECTED]

URL:   http://ndar.nih.gov







--
Amila Suriarachchi,
WSO2 Inc.


Re: [Axis2] RE: Axis2 1.2 release plan

2007-01-16 Thread Paul Fremantle

Falom

We have tested Axis2 JMS with ActiveMQ. In fact I've done some really
nice examples with Synapse where we bridge ActiveMQ into SOAP.

Do you have any specific integration requirements?

Paul

On 1/17/07, falom [EMAIL PROTECTED] wrote:

Hi Deepal,

It will be great to have geronimo integration for 1.2 release. Particularly
i'm interest to see if axis2 jms support can be integrated with geronimo
activemq broker, which will make axis2 much more powerful in aspect of
efficient handling async business requirements.

falom

Deepal Jayasinghe [EMAIL PROTECTED] wrote:
Hi All;

We released Axis2 1.1.1 few days ago and now its time to think about the
next major release (Axis2 1.2). Before doing that we have big item left
in our hand is to merge Axis2 trunk and 1.1 branch. So we need to plan
on doing that on this week (I may try this time :( ).

In Axis2 release I would like to see following features in the release
in addition to the JIRAs in the JIRA list.
- WSDL 2.0 fully support
- POJO - annotation
- REST Annotation
- JAX-WS integration
- JAX-WS -annotation
- Un-wrapping (Response)
- ADB - missing schema support
- Move security and Sawan module from Axis2 trunk
- Maven2 support
- JASON support
- Binary serialization
- Geronimo Integration
- Jax-ws option for code gen (Jaxbri as the db)
- Custom File cache mechanism
- Multiple services support in code gen (WSDL with multiple services)
- HTTP code generation (both WSDL 1.1 and 2.0)
- i18n support
- Fix/update helper mode

I would like to suggest 31st of March as the release date and going
backward from that date , we need to release first RC on 28th Feb and
cut the branch on the same date. So the release dates will be ;

- 28th Feb cut the branch for 1.2 release
- 28th Feb Release Axis2 1.2 RC1
- 15th March Release Axis2 RC2 (depending on the RC1 state)
- Rename RC2 or RC1 as Axis2 1.2

To have the above mentioned feature list and to cope with the mentioned
date it is very much essential to have community support. One other
thing if we unable to get all the above mentioned feature by 28th Feb
then we will be releasing Axis2 1.2 with whatever the features we have
at that time.

About JAX-WS integration and JAX-WS annotation , please update the
mailing list whether we will be able to have those feature in the
release or not.

Please comment and suggest if I have miss any features that you think is
necessary , or if I have add any feature which are not necessary.

Thanks
Deepal


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




 
抢注雅虎免费邮箱-3.5G容量,20M附件!





--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

Oxygenating the Web Service Platform, www.wso2.com


Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

2007-01-16 Thread Paul Fremantle

Sriram

I just took an existing WSDL and added your snippet into it. Then I
tried the Axis2-1.1.1 wsdl2java.bat

I got this error:
Retrieving schema at 'SampleService.xsd', relative to 'file:/C:/wsdlexercise/'.
Exception in thread main
org.apache.axis2.wsdl.codegen.CodeGenerationException: Caused by:
javax.wsdl.WSDLException: WSDLException (at
/wsdl:definitions/wsdl:types/xsd:schema): faultCode=OTHER_ERROR: An
error occurred trying to resolve schema referenced at
'SampleService.xsd', relative to 'file:/C:/wsdlexercise/'.:
java.io.FileNotFoundException: This file was not found:
file:/C:/wsdlexercise/SampleService.xsd

In other words, exactly as it should, it looked in the same path as
the WSDL file. So I can't replicate your problem.

Paul



On 1/17/07, Amila Suriarachchi [EMAIL PROTECTED] wrote:



On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:
 No, I am using only 1.1.1 jars  From 1.1.1  release since we have
XmlBeans as the data-binding framework,  I don't use the axis2-jibx1.1.1.jar
and axis2-adb1.1.1.jar

this should not cause any problem. Can you send a small sample wsdl and an
xsd file to reproduce your problem? I tried with some sample but they pick
the xsd file correctly.

 Thanks
 Sriram Vaidyanathan
 Software Engineer - Java
 Copart Auto Auctions, Inc.
 4665 Business Center Drive
 Fairfield, CA 94534
 www.copart.com http://www.copart.com/
 (707) 639-5248

 -Original Message-
 From: Paul Fremantle [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 16, 2007 8:24 PM
 To: axis-user@ws.apache.org
 Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

 I don't understand what you mean. Do you have a mix of 1.0 and 1.1.1 jars?

 Paul

 On 1/17/07, Sriram Vaidyanathan  [EMAIL PROTECTED] wrote:
  Hi Paul,
  Tried that option too... same error. Actually we were using one of
the Axis2 1.0 nightly versions and it used to resolve the relative directory
without a problem. Could there be a problem that I am only using the
selected jars from Axis21.1.1 distribution.
 
 
  Thanks
  Sriram Vaidyanathan
 
 
 
  -Original Message-
  From: Paul Fremantle [mailto:[EMAIL PROTECTED] ]
  Sent: Tuesday, January 16, 2007 8:13 PM
  To: axis-user@ws.apache.org
  Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.
 
  Can you try ./SampleService.xsd just in case that fixes it?
 
  Paul
 
  On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED]  wrote:
   Hi Paul,
  Here is the snippet, which is used to include the XSD in the WSDL.
  
   xsd:schema xmlns:xsd=
http://www.w3.org/2001/XMLSchema;
  
attributeFormDefault=unqualified
elementFormDefault=qualified
   targetNamespace= http://www.sample.com/test;
version=2.1.0
  
   xsd:include
schemaLocation=SampleService.xsd /
   /xsd:schema
  
  
   Both the WSDL and the XSD are in the same folder.  I am just posting
the snippet, as the WSDL itself is pretty large.
  
   Thanks,
   Sriram Vaidyanathan
   Software Engineer - Java
   Copart Auto Auctions, Inc.
   4665 Business Center Drive
   Fairfield, CA 94534
   www.copart.com http://www.copart.com/
   (707) 639-5248
  
   -Original Message-
   From: Paul Fremantle [mailto: [EMAIL PROTECTED]
   Sent: Tuesday, January 16, 2007 7:21 PM
   To: axis-user@ws.apache.org
   Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.
  
   Sriram
  
   Please can you post the WSDL/XSD?
  
   Thanks
  
   Paul
  
   On 1/17/07, Sriram Vaidyanathan  [EMAIL PROTECTED]
wrote:
   
   
   
   
Hello,
   
   I tried to migrate to axis2 1.1.1 with XMLBeans as the
data-binding
framework. My WSDL actually references XSDs in it through a relative
path.
When I run the WSDL2Java command I get a FileNotFoundException. This
used to
work before with one of the Axis2 1.0 nightly build versions I had
earlier.
   
   
   
This is the exception stacktrace:
   
   
   
Exception in thread main
   
org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
   
 [java]   at
   
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
   
 [java]   at
org.apache.axis2.wsdl.WSDL2Code.main
(WSDL2Code.java:32)
   
 [java]   at
   
org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
   
 [java] Caused by: java.lang.RuntimeException :
java.lang.reflect.InvocationTargetException
   
 [java]   at
   
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java
:92)
   
 [java]   at
   
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)
   
 [java]   ... 2 more
   
 [java] Caused by:
java.lang.reflect.InvocationTargetException
   
 [java]   at
sun.reflect.NativeMethodAccessorImpl.invoke0
(Native Method)
   
 

Re: wsdl2java generates incorrect/incomplete code

2007-01-16 Thread Amila Suriarachchi

Can you attach your fih-header.xsd file?

On 1/16/07, R Bruce Hoffman [EMAIL PROTECTED] wrote:


I just can't seem to get Axis2 1.1.1 wsdl2java.sh to properly create
skeleton code and Axiom or XmlBeans artifacts correctly for, what seems
to be, relatively simple wsdl and xsd's.

Below is the xsd and wsdl information. I have used FC4, FC5, Ubuntu and
Debian Sarge. I have tried 1.1, a snapshot before 1.1.1 and 1.1.1releases. Sun 
java
1.5.0_09 and 10.

I am being told that the wsdl and xsd information is valid (by the
original developers). Both NetBeans 5.5 and Eclipse (under WDSCi) seem
to agree that they are at least valid.

When I run wsdl2java with ADB binding, the message parts all end up in
the default package with empty package statements (package ;). The
ExtensionMapper.java ends up in an (invalid) null package. (It's named
null and on the output src path.)

All of the types, after the first array type, are listed with This was
an array! in the comments, but have no array declarations in their
_type_nn classes... the [] markers are not produced after the first
repeating element.

I have looked at trying to clean up this code to make it usable, but I
would think that Axis2 should be producing code that, at the very least,
would compile through the ant build if the wsdl2java succeeds, which it
does complete in this case. If not, it should probably give me an error
in the generation of the ADB code.

Maybe its something simple or I'm just a dope, or both, but I am lost.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--
Amila Suriarachchi,
WSO2 Inc.


RE: Axis2 1.1.1 with XMLBeans as the Data binding framework.

2007-01-16 Thread Sriram Vaidyanathan
Hi Paul,
So it seems you got that same error which I am getting right?? 

Sriram Vaidyanathan
Software Engineer - Java
Copart Auto Auctions, Inc.
4665 Business Center Drive
Fairfield, CA 94534
www.copart.com http://www.copart.com/ 
(707) 639-5248

-Original Message-
From: Paul Fremantle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 16, 2007 9:07 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

Sriram

I just took an existing WSDL and added your snippet into it. Then I
tried the Axis2-1.1.1 wsdl2java.bat

I got this error:
Retrieving schema at 'SampleService.xsd', relative to 'file:/C:/wsdlexercise/'.
Exception in thread main
org.apache.axis2.wsdl.codegen.CodeGenerationException: Caused by:
javax.wsdl.WSDLException: WSDLException (at
/wsdl:definitions/wsdl:types/xsd:schema): faultCode=OTHER_ERROR: An
error occurred trying to resolve schema referenced at
'SampleService.xsd', relative to 'file:/C:/wsdlexercise/'.:
java.io.FileNotFoundException: This file was not found:
file:/C:/wsdlexercise/SampleService.xsd

In other words, exactly as it should, it looked in the same path as
the WSDL file. So I can't replicate your problem.

Paul



On 1/17/07, Amila Suriarachchi [EMAIL PROTECTED] wrote:


 On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:
  No, I am using only 1.1.1 jars  From 1.1.1  release since we have
 XmlBeans as the data-binding framework,  I don't use the axis2-jibx1.1.1.jar
 and axis2-adb1.1.1.jar

 this should not cause any problem. Can you send a small sample wsdl and an
 xsd file to reproduce your problem? I tried with some sample but they pick
 the xsd file correctly.

  Thanks
  Sriram Vaidyanathan
  Software Engineer - Java
  Copart Auto Auctions, Inc.
  4665 Business Center Drive
  Fairfield, CA 94534
  www.copart.com http://www.copart.com/
  (707) 639-5248
 
  -Original Message-
  From: Paul Fremantle [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, January 16, 2007 8:24 PM
  To: axis-user@ws.apache.org
  Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.
 
  I don't understand what you mean. Do you have a mix of 1.0 and 1.1.1 jars?
 
  Paul
 
  On 1/17/07, Sriram Vaidyanathan  [EMAIL PROTECTED] wrote:
   Hi Paul,
   Tried that option too... same error. Actually we were using one of
 the Axis2 1.0 nightly versions and it used to resolve the relative directory
 without a problem. Could there be a problem that I am only using the
 selected jars from Axis21.1.1 distribution.
  
  
   Thanks
   Sriram Vaidyanathan
  
  
  
   -Original Message-
   From: Paul Fremantle [mailto:[EMAIL PROTECTED] ]
   Sent: Tuesday, January 16, 2007 8:13 PM
   To: axis-user@ws.apache.org
   Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.
  
   Can you try ./SampleService.xsd just in case that fixes it?
  
   Paul
  
   On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED]  wrote:
Hi Paul,
   Here is the snippet, which is used to include the XSD in the WSDL.
   
xsd:schema xmlns:xsd=
 http://www.w3.org/2001/XMLSchema;
   
 attributeFormDefault=unqualified
 elementFormDefault=qualified
targetNamespace= http://www.sample.com/test;
 version=2.1.0
   
xsd:include
 schemaLocation=SampleService.xsd /
/xsd:schema
   
   
Both the WSDL and the XSD are in the same folder.  I am just posting
 the snippet, as the WSDL itself is pretty large.
   
Thanks,
Sriram Vaidyanathan
Software Engineer - Java
Copart Auto Auctions, Inc.
4665 Business Center Drive
Fairfield, CA 94534
www.copart.com http://www.copart.com/
(707) 639-5248
   
-Original Message-
From: Paul Fremantle [mailto: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2007 7:21 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.
   
Sriram
   
Please can you post the WSDL/XSD?
   
Thanks
   
Paul
   
On 1/17/07, Sriram Vaidyanathan  [EMAIL PROTECTED]
 wrote:




 Hello,

I tried to migrate to axis2 1.1.1 with XMLBeans as the
 data-binding
 framework. My WSDL actually references XSDs in it through a relative
 path.
 When I run the WSDL2Java command I get a FileNotFoundException. This
 used to
 work before with one of the Axis2 1.0 nightly build versions I had
 earlier.



 This is the exception stacktrace:



 Exception in thread main

 org.apache.axis2.wsdl.codegen.CodeGenerationException:
 java.lang.RuntimeException:
 java.lang.reflect.InvocationTargetException

  [java]   at

 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)

  [java]   at
 org.apache.axis2.wsdl.WSDL2Code.main
 (WSDL2Code.java:32)

  [java]   at

 

Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

2007-01-16 Thread Paul Fremantle

No! Exactly the opposite. I didn't have a SampleService.xsd but
wsdl2java was looking in the right place for it.

When I add a SampleService.xsd it finds it successfully.

Paul

On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:

Hi Paul,
So it seems you got that same error which I am getting right??

Sriram Vaidyanathan
Software Engineer - Java
Copart Auto Auctions, Inc.
4665 Business Center Drive
Fairfield, CA 94534
www.copart.com http://www.copart.com/
(707) 639-5248

-Original Message-
From: Paul Fremantle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 16, 2007 9:07 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

Sriram

I just took an existing WSDL and added your snippet into it. Then I
tried the Axis2-1.1.1 wsdl2java.bat

I got this error:
Retrieving schema at 'SampleService.xsd', relative to 'file:/C:/wsdlexercise/'.
Exception in thread main
org.apache.axis2.wsdl.codegen.CodeGenerationException: Caused by:
javax.wsdl.WSDLException: WSDLException (at
/wsdl:definitions/wsdl:types/xsd:schema): faultCode=OTHER_ERROR: An
error occurred trying to resolve schema referenced at
'SampleService.xsd', relative to 'file:/C:/wsdlexercise/'.:
java.io.FileNotFoundException: This file was not found:
file:/C:/wsdlexercise/SampleService.xsd

In other words, exactly as it should, it looked in the same path as
the WSDL file. So I can't replicate your problem.

Paul



On 1/17/07, Amila Suriarachchi [EMAIL PROTECTED] wrote:


 On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:
  No, I am using only 1.1.1 jars  From 1.1.1  release since we have
 XmlBeans as the data-binding framework,  I don't use the axis2-jibx1.1.1.jar
 and axis2-adb1.1.1.jar

 this should not cause any problem. Can you send a small sample wsdl and an
 xsd file to reproduce your problem? I tried with some sample but they pick
 the xsd file correctly.

  Thanks
  Sriram Vaidyanathan
  Software Engineer - Java
  Copart Auto Auctions, Inc.
  4665 Business Center Drive
  Fairfield, CA 94534
  www.copart.com http://www.copart.com/
  (707) 639-5248
 
  -Original Message-
  From: Paul Fremantle [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, January 16, 2007 8:24 PM
  To: axis-user@ws.apache.org
  Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.
 
  I don't understand what you mean. Do you have a mix of 1.0 and 1.1.1 jars?
 
  Paul
 
  On 1/17/07, Sriram Vaidyanathan  [EMAIL PROTECTED] wrote:
   Hi Paul,
   Tried that option too... same error. Actually we were using one of
 the Axis2 1.0 nightly versions and it used to resolve the relative directory
 without a problem. Could there be a problem that I am only using the
 selected jars from Axis21.1.1 distribution.
  
  
   Thanks
   Sriram Vaidyanathan
  
  
  
   -Original Message-
   From: Paul Fremantle [mailto:[EMAIL PROTECTED] ]
   Sent: Tuesday, January 16, 2007 8:13 PM
   To: axis-user@ws.apache.org
   Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.
  
   Can you try ./SampleService.xsd just in case that fixes it?
  
   Paul
  
   On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED]  wrote:
Hi Paul,
   Here is the snippet, which is used to include the XSD in the WSDL.
   
xsd:schema xmlns:xsd=
 http://www.w3.org/2001/XMLSchema;
   
 attributeFormDefault=unqualified
 elementFormDefault=qualified
targetNamespace= http://www.sample.com/test;
 version=2.1.0
   
xsd:include
 schemaLocation=SampleService.xsd /
/xsd:schema
   
   
Both the WSDL and the XSD are in the same folder.  I am just posting
 the snippet, as the WSDL itself is pretty large.
   
Thanks,
Sriram Vaidyanathan
Software Engineer - Java
Copart Auto Auctions, Inc.
4665 Business Center Drive
Fairfield, CA 94534
www.copart.com http://www.copart.com/
(707) 639-5248
   
-Original Message-
From: Paul Fremantle [mailto: [EMAIL PROTECTED]
Sent: Tuesday, January 16, 2007 7:21 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.
   
Sriram
   
Please can you post the WSDL/XSD?
   
Thanks
   
Paul
   
On 1/17/07, Sriram Vaidyanathan  [EMAIL PROTECTED]
 wrote:




 Hello,

I tried to migrate to axis2 1.1.1 with XMLBeans as the
 data-binding
 framework. My WSDL actually references XSDs in it through a relative
 path.
 When I run the WSDL2Java command I get a FileNotFoundException. This
 used to
 work before with one of the Axis2 1.0 nightly build versions I had
 earlier.



 This is the exception stacktrace:



 Exception in thread main

 org.apache.axis2.wsdl.codegen.CodeGenerationException:
 java.lang.RuntimeException:
 java.lang.reflect.InvocationTargetException

  [java]   at

 

Re: package issue of WSDL2Java and Eclipse

2007-01-16 Thread Amila Suriarachchi

I can't realy understand your problem. but I can tell you that you can use
the ns2p option to set a package name for any url in the wsdl.
eg -ns2p http://xml.org=test.com

Try to use the eclipse plugin for axis2 codegeneration.
http://ws.apache.org/axis2/tools/1_1/eclipse/wsdl2java-plugin.html

On 1/16/07, Jiang Liu [EMAIL PROTECTED] wrote:


Hi all
I found that, well it actually could not be called as a
problem,  WSDL2Java generates all source files and put them into a folder
called ...\src\. But the problem is most client files keep the original
package from WSDL's definition, so when integrating all sources with
Eclipse, there is always package error.

For this error, i can do nothing but just hand code my Client easily.
Any suggestions that i could keep the original file structure when using
WSDL2Java so at least there is no problem when integrating with Eclipse? I
tried '-p' when different defined package name, but it seems like only stub
file changed, others not.

cheers!!
-
Jiang Liu
Student Number: 3075163
CS/Yallara Name: ljiang

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Amila Suriarachchi,
WSO2 Inc.


RE: Axis2 1.1.1 with XMLBeans as the Data binding framework.

2007-01-16 Thread Sriram Vaidyanathan
Hi Paul,

Thanks for the response.

If I remove the SampleService.xsd from the folder, then I get the expection as 
you posted.  See [1] below.

But if I have the file present, then I get a different version of the same 
exception. See [2] below.  So, I am wondering if I have the file present, is it 
hiding some other problem. ?




[1]
Running AXIS Tool WSDL2Java with Axis2 Home as  C:\axis2-1.1.1 
   [delete] Deleting directory C:\cvs\aps\cieca\wsdl\xmlbeans_gen_src
 [java] Retrieving schema at 'SampleService.xsd', relative to 
'file:/C:/cvs/aps/sample/wsdl/src/main/config/'.
 [java] Exception in thread main 
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
 [java] at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:114)
 [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
 [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
 [java] Caused by: javax.wsdl.WSDLException: WSDLException (at 
/wsdl:definitions/wsdl:types/xsd:schema[2]): faultCode=OTHER_ERROR: An error 
occurred trying to resolve schema referenced at 'SampleService.xsd', relative 
to 'file:/C:/cvs/aps/sample/wsdl/src/main/config/'.: 
java.io.FileNotFoundException: This file was not found: 
file:/C:/cvs/aps/sample/wsdl/src/main/config/SampleService.xsd
 [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
 [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
 [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source)
 [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown 
Source)
 [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
 [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
 [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
 [java] at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(CodeGenerationEngine.java:276)
 [java] at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:97)


[2]

[INFO] Executing tasks
 [echo] Running AXIS Tool WSDL2Java with Axis2 Home as  C:\axis2-1.1.1 
   [delete] Deleting directory C:\cvs\aps\sample\wsdl\xmlbeans_gen_src
 [java] Retrieving schema at 'SampleService.xsd', relative to 
'file:/C:/cvs/aps/sample/wsdl/src/main/config/'.
 [java] Jan 16, 2007 9:31:48 PM 
org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver 
resolveEntity
 [java] INFO: Resolving schema with publicId [null] and systemId 
[\SampleService.xsd]
 [java] Exception in thread main 
org.apache.axis2.wsdl.codegen.CodeGenerationException: 
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
 [java] at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
 [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
 [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
 [java] Caused by: java.lang.RuntimeException: 
java.lang.reflect.InvocationTargetException
 [java] at 
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:92)
 [java] at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)
 [java] ... 2 more
 [java] Caused by: java.lang.reflect.InvocationTargetException
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [java] at java.lang.reflect.Method.invoke(Method.java:585)
 [java] at 
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:82)
 [java] ... 3 more
 [java] Caused by: java.lang.RuntimeException: 
org.apache.xmlbeans.XmlException: error: Problem parsing referenced XML 
resource - java.io.FileNotFoundException: \SampleService.xsd (The system cannot 
find the file specified)
 [java] at 
org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:242)
 [java] ... 8 more
 [java] Caused by: org.apache.xmlbeans.XmlException: error: Problem parsing 
referenced XML resource - java.io.FileNotFoundException: \SampleService.xsd 
(The system cannot find the file specified)
 [java] at 
org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:225)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [java] at 

Re: package issue of WSDL2Java and Eclipse

2007-01-16 Thread Lahiru Sandakith

Hi Jiang,
Is this because that you do not have a source directory s configured inside
eclipse project?
By selecting java build paths tab in properties of any eclipse projects you
can select edit the source folders.
Anyway using the eclipse plugin for axis2 will be handy.
download - http://ws.apache.org/axis2/tools/index.html

Thanks

Lahiru Sandakith.

On 1/17/07, Amila Suriarachchi [EMAIL PROTECTED] wrote:


I can't realy understand your problem. but I can tell you that you can use
the ns2p option to set a package name for any url in the wsdl.
eg -ns2p http://xml.org=test.com

Try to use the eclipse plugin for axis2 codegeneration.
http://ws.apache.org/axis2/tools/1_1/eclipse/wsdl2java-plugin.html

On 1/16/07, Jiang Liu [EMAIL PROTECTED] wrote:

 Hi all
 I found that, well it actually could not be called as a
 problem,  WSDL2Java generates all source files and put them into a folder
 called ...\src\. But the problem is most client files keep the original
 package from WSDL's definition, so when integrating all sources with
 Eclipse, there is always package error.

 For this error, i can do nothing but just hand code my Client easily.
 Any suggestions that i could keep the original file structure when using
 WSDL2Java so at least there is no problem when integrating with Eclipse? I
 tried '-p' when different defined package name, but it seems like only stub
 file changed, others not.

 cheers!!
 -
 Jiang Liu
 Student Number: 3075163
 CS/Yallara Name: ljiang

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
Amila Suriarachchi,
WSO2 Inc.





--
Regards
Lahiru Sandakith


Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

2007-01-16 Thread Paul Fremantle

Sriram

You are right. I managed to recreate your problem. I think there is a
bug in the XMLBeans databinding.

Try using xsd:import instead of include:

xsd:import schemaLocation=SampleService.xsd
namespace=http://www.sample.com/test; /

Paul

On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:

Hi Paul,

Thanks for the response.

If I remove the SampleService.xsd from the folder, then I get the expection as 
you posted.  See [1] below.

But if I have the file present, then I get a different version of the same 
exception. See [2] below.  So, I am wondering if I have the file present, is it 
hiding some other problem. ?




[1]
Running AXIS Tool WSDL2Java with Axis2 Home as  C:\axis2-1.1.1
   [delete] Deleting directory C:\cvs\aps\cieca\wsdl\xmlbeans_gen_src
 [java] Retrieving schema at 'SampleService.xsd', relative to 
'file:/C:/cvs/aps/sample/wsdl/src/main/config/'.
 [java] Exception in thread main 
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
 [java] at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:114)
 [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
 [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
 [java] Caused by: javax.wsdl.WSDLException: WSDLException (at 
/wsdl:definitions/wsdl:types/xsd:schema[2]): faultCode=OTHER_ERROR: An error 
occurred trying to resolve schema referenced at 'SampleService.xsd', relative 
to 'file:/C:/cvs/aps/sample/wsdl/src/main/config/'.: 
java.io.FileNotFoundException: This file was not found: 
file:/C:/cvs/aps/sample/wsdl/src/main/config/SampleService.xsd
 [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
 [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
 [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source)
 [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown 
Source)
 [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
 [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
 [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
 [java] at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(CodeGenerationEngine.java:276)
 [java] at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:97)


[2]

[INFO] Executing tasks
 [echo] Running AXIS Tool WSDL2Java with Axis2 Home as  C:\axis2-1.1.1
   [delete] Deleting directory C:\cvs\aps\sample\wsdl\xmlbeans_gen_src
 [java] Retrieving schema at 'SampleService.xsd', relative to 
'file:/C:/cvs/aps/sample/wsdl/src/main/config/'.
 [java] Jan 16, 2007 9:31:48 PM 
org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver 
resolveEntity
 [java] INFO: Resolving schema with publicId [null] and systemId 
[\SampleService.xsd]
 [java] Exception in thread main 
org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: 
java.lang.reflect.InvocationTargetException
 [java] at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
 [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
 [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
 [java] Caused by: java.lang.RuntimeException: 
java.lang.reflect.InvocationTargetException
 [java] at 
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:92)
 [java] at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)
 [java] ... 2 more
 [java] Caused by: java.lang.reflect.InvocationTargetException
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [java] at java.lang.reflect.Method.invoke(Method.java:585)
 [java] at 
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:82)
 [java] ... 3 more
 [java] Caused by: java.lang.RuntimeException: 
org.apache.xmlbeans.XmlException: error: Problem parsing referenced XML 
resource - java.io.FileNotFoundException: \SampleService.xsd (The system cannot 
find the file specified)
 [java] at 
org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:242)
 [java] ... 8 more
 [java] Caused by: org.apache.xmlbeans.XmlException: error: Problem parsing 
referenced XML resource - java.io.FileNotFoundException: \SampleService.xsd 
(The system cannot find the file specified)
 [java] at 
org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:225)
 [java] at 

AXIS Client SSL with WebService

2007-01-16 Thread Nitin Dubey
Hello,

 

I am trying to write a SSL client using AXIS 1.4.  I got a sample from
net and able to run the following program successfully.  I have to
modify the SOAP header and send a big XML content to a external
WebService.  Can anybody tell me whether I am following the right
approach? And using the following code how do I modify the SOAP headers?

 

public static void main(String [] args) {

  try {

//String endpoint =
https://localhost:1000/axis/protected/EchoService.jws;;

String endpoint =
https://pc1267.ascindia.com:1000/axis/protected/EchoService.jws;;

System.setProperty(javax.net.ssl.trustStore,
C:/temp/ssl/.keystore);



Service service = new Service();





Callcall= (Call) service.createCall();



call.setTargetEndpointAddress( new java.net.URL(endpoint) );

call.setOperationName(new QName(echoString));



//call.setUsername(wsuser);

//call.setPassword(wspwd);

 

String ret = (String) call.invoke( new Object[] { Hello! } );

System.out.println(Sent 'Hello!', got ' + ret + ');

  } catch (Exception e) {

System.err.println(e.toString());

  }

 

Your any kind of help will be appreciated,

 

Nitin

 



[Axis2] RE: Axis2 1.2 release plan

2007-01-16 Thread falom
Hi Deepal,
   
  It will be great to have geronimo integration for 1.2 release. Particularly 
i'm interest to see if axis2 jms support can be integrated with geronimo 
activemq broker, which will make axis2 much more powerful in aspect of 
efficient handling async business requirements.
   
  falom

Deepal Jayasinghe [EMAIL PROTECTED] wrote:
  Hi All;

We released Axis2 1.1.1 few days ago and now its time to think about the
next major release (Axis2 1.2). Before doing that we have big item left
in our hand is to merge Axis2 trunk and 1.1 branch. So we need to plan
on doing that on this week (I may try this time :( ).

In Axis2 release I would like to see following features in the release
in addition to the JIRAs in the JIRA list.
- WSDL 2.0 fully support
- POJO - annotation
- REST Annotation
- JAX-WS integration
- JAX-WS -annotation
- Un-wrapping (Response)
- ADB - missing schema support
- Move security and Sawan module from Axis2 trunk
- Maven2 support
- JASON support
- Binary serialization
- Geronimo Integration
- Jax-ws option for code gen (Jaxbri as the db)
- Custom File cache mechanism
- Multiple services support in code gen (WSDL with multiple services)
- HTTP code generation (both WSDL 1.1 and 2.0)
- i18n support 
- Fix/update helper mode

I would like to suggest 31st of March as the release date and going
backward from that date , we need to release first RC on 28th Feb and
cut the branch on the same date. So the release dates will be ;

- 28th Feb cut the branch for 1.2 release
- 28th Feb Release Axis2 1.2 RC1
- 15th March Release Axis2 RC2 (depending on the RC1 state)
- Rename RC2 or RC1 as Axis2 1.2

To have the above mentioned feature list and to cope with the mentioned
date it is very much essential to have community support. One other
thing if we unable to get all the above mentioned feature by 28th Feb
then we will be releasing Axis2 1.2 with whatever the features we have
at that time.

About JAX-WS integration and JAX-WS annotation , please update the
mailing list whether we will be able to have those feature in the
release or not.

Please comment and suggest if I have miss any features that you think is
necessary , or if I have add any feature which are not necessary.

Thanks
Deepal


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
抢注雅虎免费邮箱-3.5G容量,20M附件! 

RE: Axis2 1.1.1 with XMLBeans as the Data binding framework.

2007-01-16 Thread Sriram Vaidyanathan
Hi Paul,
   So, if the SampleService.xsd also references further xsds with the 
xsd:include statement, then they will also fail right ?  

Thanks,
Sriram Vaidyanathan
Software Engineer - Java
Copart Auto Auctions, Inc.
4665 Business Center Drive
Fairfield, CA 94534
www.copart.com http://www.copart.com/ 
(707) 639-5248

-Original Message-
From: Paul Fremantle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 16, 2007 10:11 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

Sriram

You are right. I managed to recreate your problem. I think there is a
bug in the XMLBeans databinding.

Try using xsd:import instead of include:

xsd:import schemaLocation=SampleService.xsd
namespace=http://www.sample.com/test; /

Paul

On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:
 Hi Paul,

 Thanks for the response.

 If I remove the SampleService.xsd from the folder, then I get the expection 
 as you posted.  See [1] below.

 But if I have the file present, then I get a different version of the same 
 exception. See [2] below.  So, I am wondering if I have the file present, is 
 it hiding some other problem. ?




 [1]
 Running AXIS Tool WSDL2Java with Axis2 Home as  C:\axis2-1.1.1
[delete] Deleting directory C:\cvs\aps\cieca\wsdl\xmlbeans_gen_src
  [java] Retrieving schema at 'SampleService.xsd', relative to 
 'file:/C:/cvs/aps/sample/wsdl/src/main/config/'.
  [java] Exception in thread main 
 org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
  [java] at 
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:114)
  [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
  [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
  [java] Caused by: javax.wsdl.WSDLException: WSDLException (at 
 /wsdl:definitions/wsdl:types/xsd:schema[2]): faultCode=OTHER_ERROR: An error 
 occurred trying to resolve schema referenced at 'SampleService.xsd', relative 
 to 'file:/C:/cvs/aps/sample/wsdl/src/main/config/'.: 
 java.io.FileNotFoundException: This file was not found: 
 file:/C:/cvs/aps/sample/wsdl/src/main/config/SampleService.xsd
  [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
  [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
  [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source)
  [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown 
 Source)
  [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
  [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
  [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
  [java] at 
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(CodeGenerationEngine.java:276)
  [java] at 
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:97)


 [2]

 [INFO] Executing tasks
  [echo] Running AXIS Tool WSDL2Java with Axis2 Home as  C:\axis2-1.1.1
[delete] Deleting directory C:\cvs\aps\sample\wsdl\xmlbeans_gen_src
  [java] Retrieving schema at 'SampleService.xsd', relative to 
 'file:/C:/cvs/aps/sample/wsdl/src/main/config/'.
  [java] Jan 16, 2007 9:31:48 PM 
 org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver 
 resolveEntity
  [java] INFO: Resolving schema with publicId [null] and systemId 
 [\SampleService.xsd]
  [java] Exception in thread main 
 org.apache.axis2.wsdl.codegen.CodeGenerationException: 
 java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
  [java] at 
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
  [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
  [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
  [java] Caused by: java.lang.RuntimeException: 
 java.lang.reflect.InvocationTargetException
  [java] at 
 org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:92)
  [java] at 
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)
  [java] ... 2 more
  [java] Caused by: java.lang.reflect.InvocationTargetException
  [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [java] at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  [java] at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [java] at java.lang.reflect.Method.invoke(Method.java:585)
  [java] at 
 org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:82)
  [java] ... 3 more
  [java] Caused by: java.lang.RuntimeException: 
 org.apache.xmlbeans.XmlException: error: Problem parsing referenced 

RE: Axis2 1.1.1 with XMLBeans as the Data binding framework.

2007-01-16 Thread Sriram Vaidyanathan
Paul,
 I switched from Axis2 1.1.1 to Axis21.1 and tried to build with the 
xsd:include and it worked without any issues. So this seems to be a problem 
with Axis2 1.1.1. So should a JIRA be filed this in Axis2 1.1.1?

Also, if I go ahead and upgrade to Axis2 1.1 instead of Axis2 1.1.1 for my 
project, are there any issues with 1.1 that I need to be aware of before making 
the upgrade.

Appreciate your help so far. Thanks.

Thanks,
Sriram Vaidyanathan
Software Engineer - Java
Copart Auto Auctions, Inc.
4665 Business Center Drive
Fairfield, CA 94534
www.copart.com http://www.copart.com/ 
(707) 639-5248

-Original Message-
From: Paul Fremantle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 16, 2007 10:11 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 1.1.1 with XMLBeans as the Data binding framework.

Sriram

You are right. I managed to recreate your problem. I think there is a
bug in the XMLBeans databinding.

Try using xsd:import instead of include:

xsd:import schemaLocation=SampleService.xsd
namespace=http://www.sample.com/test; /

Paul

On 1/17/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote:
 Hi Paul,

 Thanks for the response.

 If I remove the SampleService.xsd from the folder, then I get the expection 
 as you posted.  See [1] below.

 But if I have the file present, then I get a different version of the same 
 exception. See [2] below.  So, I am wondering if I have the file present, is 
 it hiding some other problem. ?




 [1]
 Running AXIS Tool WSDL2Java with Axis2 Home as  C:\axis2-1.1.1
[delete] Deleting directory C:\cvs\aps\cieca\wsdl\xmlbeans_gen_src
  [java] Retrieving schema at 'SampleService.xsd', relative to 
 'file:/C:/cvs/aps/sample/wsdl/src/main/config/'.
  [java] Exception in thread main 
 org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
  [java] at 
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:114)
  [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
  [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
  [java] Caused by: javax.wsdl.WSDLException: WSDLException (at 
 /wsdl:definitions/wsdl:types/xsd:schema[2]): faultCode=OTHER_ERROR: An error 
 occurred trying to resolve schema referenced at 'SampleService.xsd', relative 
 to 'file:/C:/cvs/aps/sample/wsdl/src/main/config/'.: 
 java.io.FileNotFoundException: This file was not found: 
 file:/C:/cvs/aps/sample/wsdl/src/main/config/SampleService.xsd
  [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
  [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
  [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source)
  [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown 
 Source)
  [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
  [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
  [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
  [java] at 
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(CodeGenerationEngine.java:276)
  [java] at 
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:97)


 [2]

 [INFO] Executing tasks
  [echo] Running AXIS Tool WSDL2Java with Axis2 Home as  C:\axis2-1.1.1
[delete] Deleting directory C:\cvs\aps\sample\wsdl\xmlbeans_gen_src
  [java] Retrieving schema at 'SampleService.xsd', relative to 
 'file:/C:/cvs/aps/sample/wsdl/src/main/config/'.
  [java] Jan 16, 2007 9:31:48 PM 
 org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver 
 resolveEntity
  [java] INFO: Resolving schema with publicId [null] and systemId 
 [\SampleService.xsd]
  [java] Exception in thread main 
 org.apache.axis2.wsdl.codegen.CodeGenerationException: 
 java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
  [java] at 
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
  [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
  [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
  [java] Caused by: java.lang.RuntimeException: 
 java.lang.reflect.InvocationTargetException
  [java] at 
 org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:92)
  [java] at 
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)
  [java] ... 2 more
  [java] Caused by: java.lang.reflect.InvocationTargetException
  [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [java] at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  [java] at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [java] at 

Re: [axis2] size of wsdl2java generated stub

2007-01-16 Thread Davanum Srinivas

try the -u option to unpack the classes for huge wsdl's.

On 1/15/07, ChadDavis [EMAIL PROTECTED] wrote:

Hello.  I've generated an ADB client stub with the wsdl2java tool.
The wsdl file was about 3600 lines long, and the geneerated stuf is
about 88,800 lines long.  Wow.  Does this sound within the realm of
the expected?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis2 Hot update problem and unload native dll problem

2007-01-16 Thread Davanum Srinivas

Yong,

This is a Java limitation, nothing to do with Axis2. does the code
work as expected when you *don't* load the system dll?

thanks,
dims

On 1/15/07, Yong Yang [EMAIL PROTECTED] wrote:


Hi, It seems AXIS2 hot update does not work. I have enable hotupdate by 
chnaging the value of parameter, hotupdate, to true in the axis2.xml. I am also 
seeing that org.apache.axis2.deployment.DeploymentEngine first undeploy and 
then deploy the web service when I copy the updated .aar into services dirtory. 
But I still access the old version web service, not latest version web service. 
If I restart the web server or stop axis2 and restart axis2 using application 
server adminstartion console, I can access the lastest web service.

The environment fot the test experiments is as follows:
AXIS2 : 1.1.1
web server: Tomcat


If my web service will load native dll using Java API System.load or 
System.loadLibrary, the dll is still in memory when I undeploy the web service. 
If I redeploy the web service or update the web service, there is an error 
message that the dll has been loaded by another class loader. This results that 
the web service is crashed. To solve the problem, I have to restart JVM(restart 
web server). Is there any possible solution to unload the dll when the web 
service is undeployed without restarting web server.

many thanks in advance.


best regards
yong

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis2 1.1 Deployment Classloader Error

2007-01-16 Thread Davanum Srinivas

is your drools jar in you aar? or in WEB-INF/lib?

-- dims

On 1/14/07, Paul O'Connor [EMAIL PROTECTED] wrote:


I have a Axis2 web service that evaluates services requests with Drools. It
works fine under Axis2 version 1.0. Migrating to Axis2 v. 1.1 (or 1.1.1)
breaks the service with what appears to be a classloader issue with the
deployment classloader. I have created a simple test case to demonstrate:
Called from my skeleton service method, the following code segment tries to
reconstitute a Drools rule package from the file system:

// load the class that we are told next can't be found
Class clazz = Class.forName(org.drools.spi.Consequence,
true, this.getClass().getClassLoader());

// output snied status message...
System.out.println(CLASS THAT CAN'T BE FOUND IN NEXT
OPERATION:  + clazz.getCanonicalName() +  CL:  + clazz.getClassLoader() +
/n);

// try to reconstitute a Drools Package from file
org.drools.rule.Package pack = null;
try
{
FileInputStream fis = new
FileInputStream(c:\\package.drl);
ObjectInputStream objStream = new
ObjectInputStream(fis);
pack = (Package)objStream.readObject();
} catch (Exception e) {
System.out.println(Could not load Drools Package:
);
e.printStackTrace();
}

//add the package to a rulebase (deploy the rule package).
RuleBase ruleBase = RuleBaseFactory.newRuleBase();
ruleBase.addPackage( pack );

return ruleBase;

Under Axis2 1.1 ( 1.1.1), this is the result of calling the service method:

CLASS THAT CAN'T BE FOUND IN NEXT OPERATION: org.drools.spi.Consequence CL:
org.
[EMAIL PROTECTED]/n
java.lang.NoClassDefFoundError: org/drools/spi/Consequence
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at
org.drools.rule.PackageCompilationData$PackageClassLoader.fastFindCla
ss(Unknown Source)
at
org.drools.rule.PackageCompilationData$PackageClassLoader.loadClass(U
nknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.drools.common.ObjectInputStreamWithLoader.resolveClass(Unknown So
urce)
at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:154
3)
at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1465)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
698)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:19
17)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1841)

at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
718)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)

Thanks in advance for any assistance!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]