Re: Run RESTClient, Module not found error

2006-06-06 Thread Eran Chinthaka
You don't need addressing to run REST clients. remove the statement, client.engageModule(new QName(Constants.MODULE_ADDRESSING) and run your code. -- Chinthaka Richard Han wrote: Hi, I'm new to axis2. I try to run the RESTClient example but got: org.apache.axis2.AxisFault: Module not

[Axis v1.4] typeMapping or client-side class generation problem

2006-06-06 Thread Artur Kraft
Hello all, due to the fact that I don't have a clue, what to do to solve my axis problem, I have to bring this topic once again up. Hopefully someone can point me in the right direction. thanks. Artur I encountered a problem with the client of my axis web service, but I could also be a

RE: Axis2 .NETproblem

2006-06-06 Thread DeRemer, Bob
To help diagnose the .NET side of things, you may wish to turn on diagnostics. If you're .NET client is using .NET 2.0, then install WSE3, enable WSE3 on the project,and turn on the diagnostic messaging. If you using WinFX, then use the SvcConfigEditor to turn on client-side diagnostics.

How to make Axis use Tomcat's compiler?

2006-06-06 Thread Seak, Teng-Fong
Hello everybody, I don't know if this post would be considered off-topic; I've posted it to Tomcat several days ago but without any answer. I'm trying to use Web service in Tomcat, ie with Axis. I've read and followed the install guide and user guide:

Re: Axis2SampleDocLitPortTypeSkeleton.java?

2006-06-06 Thread robert lazarski
I think the names of the generated files might have changed slightly. Try doing a search for *Skeleton.java and see what you get. If not, post all the files from the directory that contains the Stub, and maybe we can help. HTH, Robert http://www.braziloutsource.com/On 6/5/06, Wook Shin [EMAIL

Re: [Axis v1.4] typeMapping or client-side class generation problem

2006-06-06 Thread Anne Thomas Manes
Artur,The reason why the client gets only one allCallibrations element is that it is expecting allCallibations to be of type impl:ArrayOf_xsd_dateType, not xsd:dateType, and allCallibrations is defined to occur only once, so it ignores all subsequent instances of the element. In other words, your

Re: Axis Handling Multi Part response

2006-06-06 Thread Anne Thomas Manes
The SOAP Body may have at most one child element. You should send the Session element either in a Header or as a child of the getEmployeeResponse element.AnneOn 6/6/06, Nicolas-Viet Nguyen [EMAIL PROTECTED] wrote: Hi Everyone,Is it possible to have Axis capable of handling multi-part soap

[Axis2] in-out operation question

2006-06-06 Thread Michele Mazzucco
Hi all, suppose a system with 3 elements, A, B and C where B provides a in-out operation. If A sends a request (fireAndForget of sendRobust) to B, supplying the C target as well, is it possible for the service to return the result to C straight away, that is without creating a ServiceClient

Re: SOAP exception while trying to externalize:

2006-06-06 Thread Anne Thomas Manes
Since you're using Sun's implementation, you might do better asking your question on one of Sun's discussion lists.AnneOn 6/5/06, Arsalan Zaidi [EMAIL PROTECTED] wrote: Hi.I've trying to construct a SOAP mesg and this is the exception I'm getting. I've tried everything short of standing on my

Re: SAML in message response body

2006-06-06 Thread Anne Thomas Manes
Why are you adding a samlp:Response element to the message? I would only expect to see this element when you're using the SAML protocol to request a SAML token from a SAML provider, and in that case, I would expect the SAML response to be returned in the Body--but you should not return your

Re: Error invoking Web Service from a Java client

2006-06-06 Thread Anne Thomas Manes
Please also supply your client code and a trace of your message.btw -- I strongly encourage you to not use rpc/encoded and switch to wrapped document/literal.AnneOn 6/5/06, Harish Hirasave [EMAIL PROTECTED] wrote: Hi All , I am re-submitting my problem. Attached is the WSDL. Any

Re: jws style deployment

2006-06-06 Thread Anne Thomas Manes
Axis2 doesn't support the jws style of deployment. RTFM.AnneOn 6/5/06, Phil Eastes [EMAIL PROTECTED] wrote:All ...Yes - I know I should read all the docs - but I just started on Axis2 today (from Axis1) and straight offsetting up a web service with a 'jws' file doesn'tseem to work.Anyone have any

ClassCastException: org.apache.axis.encoding.ser.BeanDeserializer

2006-06-06 Thread eliza_222
Using Axis 1.3. I have gen'd the java classes from the wsdl and added axis to my own web app. When attempting to run a simple test client against it I receive a BeanDeserializer error, see below. Any ideas? AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

Re: char is referenced but not defined

2006-06-06 Thread Anne Thomas Manes
The JAX-RPC and JAXB specifications don't define a standard mapping of the Java type char, therefore you must define how to map the type.AnneOn 6/5/06, femke [EMAIL PROTECTED] wrote:oopswhat I meant is that the java includes a char variable and the Java2WSDL translates this to

Re: char is referenced but not defined

2006-06-06 Thread femke
how do you do that? -- View this message in context: http://www.nabble.com/char-is-referenced-but-not-defined-t1734268.html#a4733656 Sent from the Axis - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED]

[Axis2 1.0] Data Binding Error: Axis expects wrong Document structure?

2006-06-06 Thread Sebastian J. Schultheiss
Hello! [Running Axis2 1.0 Nightly from May 30th, 2006] We're now implementing a WSDL from an external source: http://xml.nig.ac.jp/wsdl/Blast.wsdl We used wsdl2java to create an xmlbeans client for this service, but it gives us a databinding error because it expects a different kind of

Re: Return Type

2006-06-06 Thread Anne Thomas Manes
Define the return type as a QName; define a corresponding bean for the return type; define a bean mapping between the QName and the bean.Note that a type of xsd:state isn't valid -- you need to define a different namespace for your user-defined type. AnneOn 6/5/06, Jeffrey Ng [EMAIL PROTECTED]

RE: Run RESTClient, Module not found error

2006-06-06 Thread Richard Han
If I comment out client.engageModule(), I get a exception: org.apache.axis2.AxisFault: Incoming message input stream is null This is the only example for REST on axis2 site, why it doesn't work! This is very frustrating for axis2 new users that just try to get things going. Has anyone have a

RE: Error invoking Web Service from a Java client

2006-06-06 Thread Harish Hirasave
Anne , Here is the client code. Not sure what you mean by a trace to message. Thanks Harish From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 7:58 AM To: axis-user@ws.apache.org Subject: Re: Error invoking Web Service from a Java client

Re: [Axis2 1.0] Data Binding Error: Axis expects wrong Document structure?

2006-06-06 Thread Anne Thomas Manes
Axis2 doesn't support RPC/encoded.Try Axis1.AnneOn 6/6/06, Sebastian J. Schultheiss [EMAIL PROTECTED] wrote: Hello![Running Axis2 1.0 Nightly from May 30th, 2006]We're now implementing a WSDL from an external source: http://xml.nig.ac.jp/wsdl/Blast.wsdlWe used wsdl2java to create an xmlbeans

Re: char is referenced but not defined

2006-06-06 Thread Anne Thomas Manes
You have a number of options.1- use a primitive type instead of char2- edit the generated WSDL and replace the generated char type with an appropriate xsd type.3- edit the generated WSDL and define the generated char type and then define a typemapping definition in your WSDD. AnneOn 6/6/06, femke

Re: No such operation 'getCallDetailRecords'

2006-06-06 Thread Anne Thomas Manes
Are you sure you've specified the correct namespace qualifying the getCallDetailRecords request message? (It should be http://cdraccess.services.platform.bevocal .) It would help if you could provide the complete error message and a trace of the request message.AnneOn 6/4/06, tom mccarthy [EMAIL

Re: [Axis2] Stateful services question

2006-06-06 Thread Michele Mazzucco
Deepal, thanks very much for your clarifications. Just the last question ;): is it possible (and necessary) to configure modules the same way or only one module instance is created? Thanks in advance, Michele Deepal Jayasinghe wrote: Hi Michele; Yes , you can store states in service instance

Re: header problem

2006-06-06 Thread Anne Thomas Manes
You must remove all the namespace attributes from the soap:body, soap:header, and soap:fault definitions in the binding. (There is a bug in Axis2 that causes these attributes to be generated in a document style service.) AnneOn 6/4/06, DO [EMAIL PROTECTED] wrote: here we

Re: [Axis2] Stateful services question

2006-06-06 Thread Michele Mazzucco
Deepal, the response seems to be that only one module instance is created, just before the module deployment. However I see that 2 module instances are created (the second immediately after the first). Is there any reason for this? Michele Michele Mazzucco wrote: Deepal, thanks very much

date versus dateTime

2006-06-06 Thread Nicolas-Viet Nguyen
Hello All,Is there a way to make automatic conversion from date to dateTime in SOAP response? Though it sounds silly, I have a situation where the SOAP response is returning date for some of the elements but the corresponding java objects expect dateTime for these elements. Changing the java

RE: date versus dateTime

2006-06-06 Thread James Armstrong
I had to use Calendar instead of java.util.Date. James From: Nicolas-Viet Nguyen [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 10:28 AM To: axis-user Subject: date versus dateTime Hello All, Is there a way to make automatic conversion from date to dateTime in

Re: char is referenced but not defined

2006-06-06 Thread robert lazarski
Just to follow up on what Anne said, often a char is represented as primitive type int: int CHAR_A = 0x41;http://web.cs.mun.ca/~michael/c/ascii-table.html HTH, Robert On 6/6/06, Anne Thomas Manes [EMAIL PROTECTED] wrote: You have a number of options.1- use a primitive type instead of char2-

Re: date versus dateTime

2006-06-06 Thread Nicolas-Viet Nguyen
This is good to know.Thanks,On 6/6/06, James Armstrong [EMAIL PROTECTED] wrote: I had to use Calendar instead of java.util.Date. James From: Nicolas-Viet Nguyen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 06, 2006 10:28 AM To: axis-user Subject: date versus dateTime

Axis2, ClassLoaderResourceLoader problem

2006-06-06 Thread JJC
Hi All,I am bring up my web service and seem to having class loading problems. Tomcat can't find the following class even though it exists in xbean-2.1.0.jar in Axis2 webapp lib directory. Any idea as to what this may be and what I can do about it??Jennifer J. ChenTomcat log -2006-06-06 10:55:39

target namespace

2006-06-06 Thread tom mccarthy
I am using axis 1.4. The company I work for has deployed this service on one of our servers. What we want to do is let this code be available on our domain and on another domain as well. The problem that we are running into is that when we point another domain to the same location, the wsdl

Re: target namespace

2006-06-06 Thread Anne Thomas Manes
The WSDL targetNamespace is not the same as the URL of your service. A namespace is just a name -- it's not a path to file. If you host the same service in two different domains, the WSDL namespace should remain the same. AnneOn 6/6/06, tom mccarthy [EMAIL PROTECTED] wrote: I am using axis 1.4.

serialization format of java.util.Calendar

2006-06-06 Thread James Taylor
When using a response that contains a java.util.Calendar, the serialization format of a java.util.Calendar object does not appear to conform to an xs:dateTime as declared in the WSDL. This breaks my web service client, since it cannot parse the response. Is this a bug? Should I file a JIRA?

Re: target namespace

2006-06-06 Thread tom mccarthy
That makes sense. I deployed this web service using jws deployment. Under that deployment method where exactly does the web service get the namespace from? Also, is it possible to alter the namespace so it is something different? Anne Thomas Manes wrote: The WSDL targetNamespace is not the

Axis2 Startup does not work

2006-06-06 Thread Cyril Furtado
I am using Tomcat 4.1( will move to Tomcat 5)and JDK 1.5, We do not use a Web-Apps directory in Tomcat, Instead use the shared/lib directory to load the jar files. I have sucessfully used Axis1.2 for over 18 months in this config, now I am trying to switch to Axis2 but it has been very

Re: Axis2 .NETproblem

2006-06-06 Thread Jim Collins
Hi Thilina, Here is the TCPMON snapshot. I noticed that the HTTP code for the .NET response is 100 and for the Java client it is 200. I hope you can help with this. .NET Client Request POST /axis2/services/DocumentumService HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web

Re: Axis2 .NETproblem

2006-06-06 Thread Jim Collins
Hi Bob, I have not written the .NET client but I do know that he is using .NET 2.0 and WSE 3. I will pass on your suggestions to turn on diagnostic messaging. Regards Jim - Original Message - From: DeRemer, Bob To: axis-user@ws.apache.org Sent: Tuesday, June 06,

[Axis2] Java2WSDL problem in Axis2 Std 1.0

2006-06-06 Thread Jim Bender
I am trying to convert my code to use Axis2 Std 1.0 instead of 0.93. The various pieces are all done programmatically, rather than using the plugin, as this is for a product. The Java2WSDL runs without breaking in 1.0, but generates an incorrect file. The toy example I am using uses a complex

newbie question on deployment

2006-06-06 Thread Taylor, Clarence B
I have been struggling with using java2wsdl, wsdl2java, admin deploy.wsdd as described in the users guide to get a simple test web service deployed and keep running into a wall. I have eclipse, running tomcat under windows. I have tomcat installed in c:\tomcat and axis installed in

Re: newbie question on deployment

2006-06-06 Thread Nicolas Guaneme
Taylor, Clarence B wrote: I have been struggling with using java2wsdl, wsdl2java, admin deploy.wsdd as described in the users guide to get a simple test web service deployed and keep running into a wall. I have eclipse, running tomcat under windows. I have tomcat installed in

InvokeOneway method

2006-06-06 Thread Saehoon Cheon
I want to pass the parameter to the services, but as far as I know all the invoke method has a return value. So I used invokeOneway method. call.addParameter( op1, XMLType.XSD_INT , ParameterMode.IN );call.addParameter( op2, XMLType.XSD_INT, ParameterMode.IN );call.invokeOneWay(new Object[] {i1,

please unscribe

2006-06-06 Thread Mérième N
Could you please unscribe me to this mailing list? Thank you. Regards, Mérième

Why do i get a No such operation error?

2006-06-06 Thread ANTHONY ZIOLKOWSKI
I get a "No such operation" error when I run my client stub. I can't figure out why.I generate the client code using the following ant task: target name="generate-client-stub" axis-wsdl2java url="" package="com.zeesol.bizservice.client" / /axis-wsdl2java /targetWSDL File:?xml version="1.0"

Re: -- Why there is No DataHandler definition in wsdl?

2006-06-06 Thread 蘇 軼(CEC)
hi Stepan, Thank you VERY much for your help ! The problem was solved by changing the namespace 'tns1' to 'apachesoap'. I think it is a bug of this sample, because the 'tns1' is written in the deploy.wsdd file. BTW: the namespace 'apachesoap' references to 'http://xml.apache.org/xml-soap', by

Re: [Axis2] in-out operation question

2006-06-06 Thread Chamikara Jayalath
Hi Michele, Currently it seems that this does not work if you use the RawXMLINOutMessageReceiver. The reason is this message receiver setting the relatesTo addressing header in the response message. When this message goes to the Dispatching Phase of the second invocation it will fail saying that

Re: Axis2 .NETproblem

2006-06-06 Thread Thilina Gunarathne
Hi, AFAIK http 100 is not a prob.. It's how .net greets and welcome the incoming messages ;)... Seems like .net client is having the prob. I can't notice the prob straight away.. Somebody with .net experience might be able to comment on this.. Try switching of addressing on the client side - just

[Axis] What is the best way to handle large arrays of complex objects (10,000+)?

2006-06-06 Thread Ryan Norris
I'm new to webservices and Axis and I'm trying to solve a problem which seems like it would be a fairly common one. I have some EJBs that I am wanting to expose to clients via webservices rather than using RMI for various reasons. I'm trying to use Axis but am running into some trouble. The

Re: Axis2 Startup does not work

2006-06-06 Thread Deepal Jayasinghe
What is the Axis2 version that you use , anyway I will try with Tomcat 4.1 , the problem is we did not test in Tomcat 4.1 Cyril Furtado wrote: I am using Tomcat 4.1( will move to Tomcat 5) and JDK 1.5, We do not use a Web-Apps directory in Tomcat, Instead use the shared/lib directory to load

Re: Axis2, ClassLoaderResourceLoader problem

2006-06-06 Thread Deepal Jayasinghe
What is the Axis2 and tomcat version that you are using. And what exactly you are trying to do. Pls help me to regenerate the issue JJC wrote: Hi All, I am bring up my web service and seem to having class loading problems. Tomcat can't find the following class even though it exists in

Re: [Axis2] Stateful services question

2006-06-06 Thread Deepal Jayasinghe
Hi Michele; Michele Mazzucco wrote: Deepal, thanks very much for your clarifications. Just the last question ;): is it possible (and necessary) to configure modules the same way or only one module instance is created? There won't be two instance of same module , so you do not need to do any

Out Of Memory Error in codegen task

2006-06-06 Thread homauoon mahboobi
HiI'm new in Axis 2.I want to build java classes from HL7 standard schemas.But when I run codegen task,I get out of memory error.This is my ant task:codegen wsdlfilename="etc/PRPA_AR201102.wsdl" output="output" serverside="true"/codegenI increased my JVM memory to 512 MB,but it's seems that it

Re: [axis2] How to write the implementation class

2006-06-06 Thread Deepal Jayasinghe
Hi Dave; pls see my comment below; Dave Hoffer wrote: Deepal, Thanks for the reply and link it is very helpful! Regarding this approach I have a couple of questions. - Is there any rules/requirements of the POJO's, such as, can the methods return other custom Java objects? Can the methods