Re: Please help vote for this issue
Thank you for pointing this out. However, what about the problem of attachment to a different request. Right now, after the the first request the receive an attachment, using the same stub to make another request (a different function call) would then send the attachment. This should not happen at all because the 2nd request does not have attachment. If store the attachment separately for request and response, this means that if the 1st request send an attachment, then the 2nd request (which does not have attachment in the function call) is made would also send the attachment. Jongjin Choi wrote: Sorry for double posting to axis-dev, axis-user. But I think that the devs should give attention to this problem. This problem is reported to Jira several times. The related ones are: http://issues.apache.org/jira/browse/AXIS-1433 http://issues.apache.org/jira/browse/AXIS-1430 The problem is org.apache.axis.Stub's 'attachments' member. Stub uses 'attachments' in both request and response. After receving soap message, the stub's extractAttachments() method stores the response attachments to its 'attachements' member. On the next call, the setAttachments() method stores the previous attachments to the request soap message. I think the axis's stub class is designed to handle attachments more flexiblely like this: (in test.wsdl.interop4.groupG.dime.doc.DimeDocInteropTestCase's test5DimeDocSoapPortEchoUnrefAttachments()) AttachmentsPortType binding = ...; DataHandler dh = ... ((org.apache.axis.client.Stub)binding).addAttahcment(dh); binding.echoUnrefAttachments();// Stub.setAttchment() and Stub.extractAttachement() called. Object attachments[] = ((org.apache.axis.client.Stub)binding).getAttachments(); I think the Stub should have two seperate attachments member for request and response for retaining interfaces above and fixing the bugs reported. The methods for attachment need to be rearranged: getAttachments : (deprecated) use getResponseAttachments() instead. clearAttachments : clear all REQ/RESP attachments addAttachment : adding attachment to REQUEST attachment setAttchment : storing REQUEST attachments to soap message extractAttachment : extracting RESPONSE attachment from soap message getRequestAttachments: (NEW) returning the REQUEST attachments getResponseAttachments: (NEW) returning the RESPONSE attachments Any opinion? /Jongjin - Original Message - From: Vy Ho [EMAIL PROTECTED] To: Axis-User [EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 2:52 AM Subject: Please help vote for this issue When using DataHandler, Axis would often erroneously send the attached data in the next different request (that has no attachment whatsoever). This is an error by itself and also causes application freezes up. I believe this is really a serious issue and a show stopper. Please vote for it at: http://issues.apache.org/jira/browse/AXIS-1729
RE: axis performance in multithreading env
Well, I wouldn't want to tell you what to do, but how I have gone about it in the past is to [i] Concoct a nice long test, so start-up costs don't get measured as the main cost in the output [ii]Fire up the profiler [iii] Run it under different scenarios This profiler has several modes of gathering data: sampling and instrumenting: sampling is less intrusive but will take longer to get good covereage, whereas instrumenting has limits on the methods it can profile and makes a huge impact on overall performance, (which therefore invalidates the results a little bit). Most profilers have some way of sorting the results for time spent by Class/method/% of total/package Just browsing around that should give a clue: there are normally a couple of hot spots; in Axis these tend to be in the Http client code and the Xml Parser (I didn't use the commons http client for those test, and perhaps I should have). I don't think it's unreasonable that a SOAP library using http should spend time in these areas, so I didn't get too fussed, though there might be room for improvement. If you sort by class, it will be obvious which Axis classes contribute significantly to the total. If there is a performance hit there, it should be easy to spot. Since you have before and after Axis jars, it would be a great idea to see if there was a significant impact made to the time spent in the patched class before and after the patch. Just some thoughts, Patrick -Original Message- From: Vy Ho [mailto:[EMAIL PROTECTED] Sent: 10 January 2005 21:55 To: [EMAIL PROTECTED] Subject: Re: axis performance in multithreading env This is a problem for me. I use Netbeans and the JFluid supports 1.4, not Jdk1.5. My apps run under 1.5. It would take some effort on my part to make these apps run elsewhere. I am currently tied up at a moment, so I have to put this off for now. I am sorry about this. If time permit, I'll work on this. Just to clear it a bit, did you want to see the number of objects created, or the function calls count, or time slice of each function call, or all of them? Because my test does not based on any special type of webservice app, I think it can easily be replicated somewhere else. Patrick Martin wrote: Is there any chance you can use a profiler on these tests? This should makes things a lot clearer. If you're using Eclipse, there is an eclipse profiler that is free, easy to set up and very informative. http://sourceforge.net/projects/eclipsecolorer/
Re: Document/Literal : bad part name in axis server response
On Tuesday 11 January 2005 07:26, Ephemeris Lappis wrote: I don't use wsdl2java. I had it the wrong way around and confused the java2wsdl from your original message with wsdl2java. In Jonas, using the new (not so new) ejb 2.1 service endpoint features, i just provide the wsdl (that is generated from the java endpoint interface), and the ejb and webservices descriptors (for the ejb deployment). At assembly time, Jonas produces the java stubs, the whole web application as a war with a limited wsdd descriptor. At deployment time, Jonas merges the war's wsdd file with the full platform's one to expose the web service endpoint. This is the wsdd file : Presumably the following is happening: At assembly time Jonas uses wsdl2java to generate, among other things, a deploy.wsdd. At deployment time, Jonas uses the Axis AdminClient to merge this deploy.wsdd into Axis' server-config.wsdd. Do you know if this is correct? ?xml version=1.0 encoding=UTF-8? deployment xmlns=http://xml.apache.org/axis/wsdd/; [snip] /deployment There are no operation elements in that WSDD. Without them, Axis won't use the names and types you intended in the input and output messages. From my point of view, Axis was expected to use the given wsdl file to handle client requests according to the descriptor it generated itself... Well, Axis (at least as of 1.2RC) does that. Not directly, though. You need to process your WSDL with wsdl2java and among other things, you get a deploy.wsdd with names, types and namespaces specified for operations. Also, the deployScope can be specified. I may be mistaken and I can't claim that Axis is doing everything right, but the problem in your case appears to be one of integration where the Jonas installation doesn't make full use of what Axis offers. I don't know Jonas, thus I can't say whether this is a genuine limitation of the respective Jonas version or a shortcoming of the deployment. Michael -- Michael Schuerig Contests between male toads over females are mailto:[EMAIL PROTECTED] often settled by the depth of the croak. http://www.schuerig.de/michael/--John Maynard Smith
Axis installation - WSDL2Java
I am new to Axis and Web services development. I have however done web development (JSP, Servlets). I also done some web service development in .NET. I need to create a web service and client and service using Java and I am trying to (need to) use Axis. I am also using JBOSS to deploy the application. I have downloaded AXIS-1_1 and set the class path for the jars as instructed. I did not install it as it said that I could just include the .jars in my .war file I have several WSDL documents on which my webservice I am trying to build, is based on. I realise I can use the Axis WSDL2Java tool to create proxy and skeleton classes . But when I try to run the command and get the exception: C:\java org.apache.axis.wsdl .WSDL2Java MyClient.wsdl Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/di scovery/tools/DiscoverSingleton at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:84 ) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory .java:80) at org.apache.axis.components.logger.LogFactory.clinit(LogFactory.java :72) at org.apache.axis.i18n.ProjectResourceBundle.clinit(ProjectResourceBu ndle.java:92) at org.apache.axis.i18n.MessagesConstants.clinit(MessagesConstants.jav a:71) at org.apache.axis.utils.Messages.clinit(Messages.java:75) at org.apache.axis.wsdl.WSDL2Java.clinit(WSDL2Java.java:99) What do I need to do, where do I need to run this command? Do I need to install Axis on the server and then start the server, before I can run the command? Any help appreciated. Marika Ludmann Marika Ludmann KTP Associate Zeraxis - University of Greenwich
Re: Axis installation - WSDL2Java
Marika Ludmann wrote: *I am new to Axis and Web services development. I have however done web development (JSP, Servlets). I also done some web service development in .NET.* * * * * *I need to create a web service and client and service using Java and I am trying to (need to) use Axis.* *I am also using JBOSS to deploy the application.* * * * * *I have downloaded AXIS-1_1 and set the class path for the jars as instructed. I did not install it as it said that I could just include the .jars in my .war file * * * * * *I have several WSDL documents on which my webservice I am trying to build, is based on.* *I realise I can use the Axis WSDL2Java tool to create proxy and skeleton classes .* * * *But when I try to run the command and get the exception:* * * *C:\java org.apache.axis.wsdl* * * *.WSDL2Java MyClient.wsdl* * * *Exception in thread main java.lang.NoClassDefFoundError:* *org/apache/commons/di* * * *scovery/tools/DiscoverSingleton* * * *at* *org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:84* * * *)* * * *at java.security.AccessController.doPrivileged(Native Method)* * * *at* *org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory* * * *.java:80)* * * *at* *org.apache.axis.components.logger.LogFactory.clinit(LogFactory.java* * * *:72)* * * *at* *org.apache.axis.i18n.ProjectResourceBundle.clinit(ProjectResourceBu* * * *ndle.java:92)* * * *at* *org.apache.axis.i18n.MessagesConstants.clinit(MessagesConstants.jav* * * *a:71)* *at org.apache.axis.utils.Messages.clinit(Messages.java:75)* * * *at org.apache.axis.wsdl.WSDL2Java.clinit(WSDL2Java.java:99)* * * * What do I need to do, where do I need to run this command? Do I need to install Axis on the server and then start the server, before I can run the command?* * * * * * * *Any help appreciated.* * * * * * * * * * * *Marika Ludmann* * * * * **/Marika Ludmann/** **/KTP Associate/** **/Zeraxis - University of Greenwich/** * * Hi, Try to add to your classpath commons discovery (http://jakarta.apache.org/commons/discovery/) and it'll work better I think. Karim
Re: Axis installation - WSDL2Java
Better yet- look at the WSDL2Java batch file, it has all the dependencies in it. [EMAIL PROTECTED] 01/11/05 6:05 AM Marika Ludmann wrote: *I am new to Axis and Web services development. I have however done web development (JSP, Servlets). I also done some web service development in .NET.* * * * * *I need to create a web service and client and service using Java and I am trying to (need to) use Axis.* *I am also using JBOSS to deploy the application.* * * * * *I have downloaded AXIS-1_1 and set the class path for the jars as instructed. I did not install it as it said that I could just include the .jars in my .war file * * * * * *I have several WSDL documents on which my webservice I am trying to build, is based on.* *I realise I can use the Axis WSDL2Java tool to create proxy and skeleton classes .* * * *But when I try to run the command and get the exception:* * * *C:\java org.apache.axis.wsdl* * * *.WSDL2Java MyClient.wsdl* * * *Exception in thread main java.lang.NoClassDefFoundError:* *org/apache/commons/di* * * *scovery/tools/DiscoverSingleton* * * *at* *org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:84* * * *)* * * *at java.security.AccessController.doPrivileged(Native Method)* * * *at* *org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory* * * *.java:80)* * * *at* *org.apache.axis.components.logger.LogFactory.clinit(LogFactory.java* * * *:72)* * * *at* *org.apache.axis.i18n.ProjectResourceBundle.clinit(ProjectResourceBu* * * *ndle.java:92)* * * *at* *org.apache.axis.i18n.MessagesConstants.clinit(MessagesConstants.jav* * * *a:71)* *at org.apache.axis.utils.Messages.clinit(Messages.java:75)* * * *at org.apache.axis.wsdl.WSDL2Java.clinit(WSDL2Java.java:99)* * * * What do I need to do, where do I need to run this command? Do I need to install Axis on the server and then start the server, before I can run the command?* * * * * * * *Any help appreciated.* * * * * * * * * * * *Marika Ludmann* * * * * **/Marika Ludmann/** **/KTP Associate/** **/Zeraxis - University of Greenwich/** * * Hi, Try to add to your classpath commons discovery (http://jakarta.apache.org/commons/discovery/) and it'll work better I think. Karim
invoking a service operation with a complex type
Hello, I've been looking in vain for a solution to this (simple sounding) problem. I'd like to invoke a web service operation with some nested parameters. The operation takes three arguments, but some of the arguments have sub-parts. Probably best shown with a real example - here's what the outgoing SOAP message should look like: SOAP-ENV:Body m:getAddress xmlns:m=AddressFinder point xsi:type=m0:Point x xsi:type=xsd:double-117.195533/x y xsi:type=xsd:double34.057055/y coordinateSystem xsi:type=m0:CoordinateSystem projection xsi:type=xsd:string4326/projection /coordinateSystem /point addressFinderOptions xsi:type=m2:AddressFinderOptions dataSource xsi:type=xsd:stringGDT.Streets.US/dataSource /addressFinderOptions token xsi:type=xsd:stringMyToken/token /m:getAddress /SOAP-ENV:Body /SOAP-ENV:Envelope Note that the first argument, point, consists of x, y and coordinate system, whereas the last argument, token, is just a string. I'm using apache axis, and dont want to have to generate stubs etc. I just want to create a Call object and invoke the operation like I would do so for other simpler operations, e.g. |Service service = . Call call = (Call) service.createCall(...) String ret = (String) call.invoke( new Object[] { ...some zip code or whatever... }); MessageElement body = (MessageElement)call.getResponseMessage().getSOAPEnvelope().getBody(); SOAPBody sb = (SOAPBody)body; org.w3c.Element dom = sb.getAsDOM(); | I'm just interested in the XML that's returned from the call and don't wish to turn it into anything. My question is, how do I invoke the call object with *nested* paramaters? Any help would be appreciated, Thanks, Eddie Johnston
RE: Axis - .Net Interop Problems
Thanks Brian. Looking through your wsdl and comparing it to mine put me in the right direction. I put together a smaller prototype where business object getters/setters return only typed arrays for 1 - m relationships. .Net wsdl.exe had no problems with the Axis generated wsdl. .Net did not like the element type, soapenc:Array, but had no problems with array types that extend soapenc:Array. John --- Brian Davis [EMAIL PROTECTED] wrote: Yes, I sure am. Here is my wsdl: ?xml version=1.0 encoding=UTF-8? wsdl:definitions targetNamespace=http://www.willyloman.com/webservices; ... __ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250
Re: Axis installation - WSDL2Java
Hi, You need to include the following .jar files in your classpath. I am using Axis 1.1. running under Tomcat 5.0.27. think you should download tomcat 5.0.x and use the jars provided by tomcat in the bin directory. My classpath has the following jar files. C:\axis\axis-1_1\lib\axis.jar; C:\axis\axis-1_1\lib\axis-ant.jar; C:\axis\axis-1_1\lib\saaj.jar; C:\axis\axis-1_1\lib\commons-discovery.jar; C:\axis\axis-1_1\lib\commons-logging.jar; C:\axis\axis-1_1\lib\jaxrpc.jar; C:\axis\axis-1_1\lib\log4j-1.2.8.jar; C:\axis\axis-1_1\lib\wsdl4j.jar; C:\ApacheTomcat5.0\common\lib\servlet-api.jar;.; I hope that works. - Original Message - From: Marika Ludmann To: [EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 4:57 PM Subject: Axis installation - WSDL2Java I am new to Axis and Web services development. I have however done web development (JSP, Servlets). I also done some web service development in .NET. I need to create a web service and client and service using Java and I am trying to (need to) use Axis. I am also using JBOSS to deploy the application. I have downloaded AXIS-1_1 and set the class path for the jars as instructed. I did not install it as it said that I could just include the .jars in my .war file I have several WSDL documents on which my webservice I am trying to build, is based on. I realise I can use the Axis WSDL2Java tool to create proxy and skeleton classes . But when I try to run the command and get the exception: C:\java org.apache.axis.wsdl .WSDL2Java MyClient.wsdl Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/di scovery/tools/DiscoverSingleton at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:84 ) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory .java:80) at org.apache.axis.components.logger.LogFactory.clinit(LogFactory.java :72) at org.apache.axis.i18n.ProjectResourceBundle.clinit(ProjectResourceBu ndle.java:92) at org.apache.axis.i18n.MessagesConstants.clinit(MessagesConstants.jav a:71) at org.apache.axis.utils.Messages.clinit(Messages.java:75) at org.apache.axis.wsdl.WSDL2Java.clinit(WSDL2Java.java:99) What do I need to do, where do I need to run this command? Do I need to install Axis on the server and then start the server, before I can run the command? Any help appreciated. Marika Ludmann Marika Ludmann KTP Associate Zeraxis - University of Greenwich
Re: ClassCastException parsing fault with 1.2RC2
I believe that the detail element is invalid. The detail element is defined so: xs:element name=detail type=tns:detail minOccurs=0 / xs:complexType name=detail xs:sequence xs:any namespace=##any minOccurs=0 maxOccurs=unbounded processContents=lax / /xs:sequence xs:anyAttribute namespace=##any processContents=lax / /xs:complexType Therefore the content in the detail should be specified within a qualified child element or attribute, but not as string content within detail. Anne On Mon, 10 Jan 2005 15:31:07 -0500, Rich Bramante [EMAIL PROTECTED] wrote: I have an Axis client connecting with a 2.6 gSOAP server. Things work fine until the server returns a fault at which point the client throws a ClassCastException out of the stub's invoke() method. Here is the returned gSOAP response. Is this response valid or is it formatted improperly? Thanks. ?xml version=1.0 encoding=UTF-8? SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:ns=urn:Server xmlns:ns=urn:Agent/ns.xsd xmlns:Agent=urn:Agent SOAP-ENV:Body id=_0 SOAP-ENV:Fault faultcodeSOAP-ENV:Client/faultcode faultstringSTATUS_IO_TIMEOUT/faultstring detailSOAP Request Failed: Error = Exception (555)/detail /SOAP-ENV:Fault /SOAP-ENV:Body /SOAP-ENV:Envelope
Re: Is lower case first letters oblicatory always in wsdl?
It shouldn't matter. What errors are you getting? On Mon, 10 Jan 2005 11:17:44 +0200, Ilkka Heinonen [EMAIL PROTECTED] wrote: Hello All, Thank You, Anne, from your reply for last question. http://www.newsarch.com/archive/mailinglist/axis/user/msg08622.html Using WSDL2Java, seems that elements, attributes and e.g. complexType has to have lower case first character. If I run WSDL2Java with capital first letters in names, I will get an error. When I manually change all names to start with lower case, I will get working SOAP service(?). Is this true? e.g. Originally names were Companies, CompanyData, SearchString, . . s:complexType name=companies s:sequence s:element minOccurs=0 maxOccurs=unbounded form=unqualified name=companyData type=s1:companiesCompanyData/ /s:sequence s:attribute name=searchString type=s:string/ s:attribute name=catalogueID type=s:string/ s:attribute name=catalogueURI type=s:anyURI/ /s:complexType . I get from another organization Microsoft SOAP Toolkit compatible WSDL that has every element, attributes and complexTypes names that starts with upper case character. What I can do? - we have to change all names to start with lower case name? - is there a way to put WSDL2Java work with uppercase first letter in names? Best regards -Ilkka- [EMAIL PROTECTED] +358 20 722 4995
RE: Axis installation - WSDL2Java
Thank you all, I am using JBOSS and I do have all of the jars in the class path Marika From: sunil [mailto:[EMAIL PROTECTED] Sent: 11 January 2005 11:39 To: [EMAIL PROTECTED] Subject: Re: Axis installation - WSDL2Java Hi, You need to include the following .jar files in your classpath. I am using Axis 1.1. running under Tomcat 5.0.27. think you should download tomcat 5.0.x and use the jars provided by tomcat in the bin directory. My classpath has the following jar files. C:\axis\axis-1_1\lib\axis.jar; C:\axis\axis-1_1\lib\axis-ant.jar; C:\axis\axis-1_1\lib\saaj.jar; C:\axis\axis-1_1\lib\commons-discovery.jar; C:\axis\axis-1_1\lib\commons-logging.jar; C:\axis\axis-1_1\lib\jaxrpc.jar; C:\axis\axis-1_1\lib\log4j-1.2.8.jar; C:\axis\axis-1_1\lib\wsdl4j.jar; C:\ApacheTomcat5.0\common\lib\servlet-api.jar;.; I hope that works. - Original Message - From: Marika Ludmann To: [EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 4:57 PM Subject: Axis installation - WSDL2Java I am new to Axis and Web services development. I have however done web development (JSP, Servlets). I also done some web service development in .NET. I need to create a web service and client and service using Java and I am trying to (need to) use Axis. I am also using JBOSS to deploy the application. I have downloaded AXIS-1_1 and set the class path for the jars as instructed. I did not install it as it said that I could just include the .jars in my .war file I have several WSDL documents on which my webservice I am trying to build, is based on. I realise I can use the Axis WSDL2Java tool to create proxy and skeleton classes . But when I try to run the command and get the exception: C:\java org.apache.axis.wsdl .WSDL2Java MyClient.wsdl Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/di scovery/tools/DiscoverSingleton at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:84 ) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory .java:80) at org.apache.axis.components.logger.LogFactory.clinit(LogFactory.java :72) at org.apache.axis.i18n.ProjectResourceBundle.clinit(ProjectResourceBu ndle.java:92) at org.apache.axis.i18n.MessagesConstants.clinit(MessagesConstants.jav a:71) at org.apache.axis.utils.Messages.clinit(Messages.java:75) at org.apache.axis.wsdl.WSDL2Java.clinit(WSDL2Java.java:99) What do I need to do, where do I need to run this command? Do I need to install Axis on the server and then start the server, before I can run the command? Any help appreciated. Marika Ludmann Marika Ludmann KTP Associate Zeraxis - University of Greenwich
RE: Axis installation - WSDL2Java
Not to be contrary, but clearly, you do not have them all on the classpath if you are getting this error. :-) Larry [EMAIL PROTECTED] 01/11/05 7:45 AM Thank you all, I am using JBOSS and I do have all of the jars in the class path Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton
AXIS for Tandem OSS
Title: AXIS for Tandem OSS What version of AXIS would be used for Tandem OSS? My specific problem is related to the fact that wsdl2java created source files with org/apache/axis/client/Service which is not found on Tandem OSS. Has anyone installed AXIS on Tanem OSS? Any suggestions or directions would be greatly appreciated. Thanks. Clarence (Claude) P Conzemius Phone: 507-266-2189 Pager: 127-07565 e-mail: [EMAIL PROTECTED] Location: Siebens 828
Re: AXIS for Tandem OSS
Out of curiosity, have you considered connecting with HP/Compaq? Not sure who, but Compaq folks should be accessible to you if your company has a Tandem. Second thought: is it possible for you to get the source distribution of Axis and build it on Tandem? Does Tandem support the Java jdk that is current (1.4 or 1.5)? Tom On Jan 11, 2005, at 8:16 AM, Conzemius, Clarence P. wrote: x-tad-smallerWhat version of AXIS would be used for Tandem OSS? My specific problem is related to the fact that wsdl2java created source files with org/apache/axis/client/Service which is not found on Tandem OSS. Has anyone installed AXIS on Tanem OSS?/x-tad-smaller x-tad-smallerAny suggestions or directions would be greatly appreciated./x-tad-smaller x-tad-smallerThanks./x-tad-smaller x-tad-smallerClarence (Claude) P Conzemius/x-tad-smaller x-tad-smallerPhone:/x-tad-smallerx-tad-smaller 507-266-2189 /x-tad-smaller x-tad-smallerPager:/x-tad-smallerx-tad-smaller 127-07565 /x-tad-smaller x-tad-smallere-mail:/x-tad-smallerx-tad-smaller [EMAIL PROTECTED]/x-tad-smaller x-tad-smallerLocation:/x-tad-smallerx-tad-smaller Siebens 828/x-tad-smaller
Tried to enter bugzilla bug on Axis JWS but not listed
How do I go about entering a bugzilla bug for Axis Michael Oliver CTO Alarius Systems LLC 3325 N. Nellis Blvd, #1 Las Vegas, NV 89115 Phone:(702)643-7425 Fax:(520)844-1036 *Note new email changed from [EMAIL PROTECTED]
RE: Axis installation - WSDL2Java
Here is the axis bit of my classpath .;C:\axis-1_1\lib\axis.jar;C:\axis-1_1\lib\jaxrpc.jar;C:\axis-1_1\lib\saaj.j ar;C:\axis-1_1\lib\commons-logging.jar;C:\axis-1_1\commons-discovery.jar;C:\ axis-1_1\lib\wsdl4j.jar;C:\axis-1_1\; -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: 11 January 2005 15:30 To: [EMAIL PROTECTED] Subject: RE: Axis installation - WSDL2Java Not to be contrary, but clearly, you do not have them all on the classpath if you are getting this error. :-) Larry [EMAIL PROTECTED] 01/11/05 7:45 AM Thank you all, I am using JBOSS and I do have all of the jars in the class path Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton
Re: Tried to enter bugzilla bug on Axis JWS but not listed
http://issues.apache.org/jira/ I'm not sure though what the difference between Axis and Axis2 projects is. I think Axis is where you want to enter your bug. Tim Michael Oliver wrote: How do I go about entering a bugzilla bug for Axis Michael Oliver CTO Alarius Systems LLC 3325 N. Nellis Blvd, #1 Las Vegas, NV 89115 Phone:(702)643-7425 Fax:(520)844-1036 *Note new email changed from [EMAIL PROTECTED]
RE: Axis installation - WSDL2Java
It looks like the path to commons-discovery.jar is wrong (you are missing the lib dir assuming it is in the same place as all the other jars). -Original Message- From: Marika Ludmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 10:04 AM To: [EMAIL PROTECTED] Subject: RE: Axis installation - WSDL2Java Here is the axis bit of my classpath .;C:\axis-1_1\lib\axis.jar;C:\axis-1_1\lib\jaxrpc.jar;C:\axis-1_1\lib\saaj.j ar;C:\axis-1_1\lib\commons-logging.jar;C:\axis-1_1\commons-discovery.jar;C:\ axis-1_1\lib\wsdl4j.jar;C:\axis-1_1\; -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: 11 January 2005 15:30 To: [EMAIL PROTECTED] Subject: RE: Axis installation - WSDL2Java Not to be contrary, but clearly, you do not have them all on the classpath if you are getting this error. :-) Larry [EMAIL PROTECTED] 01/11/05 7:45 AM Thank you all, I am using JBOSS and I do have all of the jars in the class path Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton
RE: Axis installation - WSDL2Java
Ooops, Thank you, Sorry about this everyone Marika -Original Message- From: Papadakis, Elliot [mailto:[EMAIL PROTECTED] Sent: 11 January 2005 16:06 To: '[EMAIL PROTECTED]' Subject: RE: Axis installation - WSDL2Java It looks like the path to commons-discovery.jar is wrong (you are missing the lib dir assuming it is in the same place as all the other jars). -Original Message- From: Marika Ludmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 10:04 AM To: [EMAIL PROTECTED] Subject: RE: Axis installation - WSDL2Java Here is the axis bit of my classpath .;C:\axis-1_1\lib\axis.jar;C:\axis-1_1\lib\jaxrpc.jar;C:\axis-1_1\lib\saaj.j ar;C:\axis-1_1\lib\commons-logging.jar;C:\axis-1_1\commons-discovery.jar;C:\ axis-1_1\lib\wsdl4j.jar;C:\axis-1_1\; -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: 11 January 2005 15:30 To: [EMAIL PROTECTED] Subject: RE: Axis installation - WSDL2Java Not to be contrary, but clearly, you do not have them all on the classpath if you are getting this error. :-) Larry [EMAIL PROTECTED] 01/11/05 7:45 AM Thank you all, I am using JBOSS and I do have all of the jars in the class path Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton
soap over jms
Hi all, does anybody know where I can find some 'ready to deploy' and well commented examples on soap over jms? (not the one included in axis) deeper tutorial on this topic would be also very appreciated :) thank you very much lubo
Slow network usage by Java/Axis; fast with .Net client
Hi, I'm using Axis 1.1 (under JRE 1.3.1_01) as the client to consume a Web Service exposed by a Siebel system. As usual, proxy classes were generated, based on the WSDL exposed by the Siebel system and compilation runs fine. The problem is that this Web Service returns a 17k response and sometimes it takes 5 seconds for Web service completion. I've switched from Xerces parser to Piccolo to see if the problem was with the parser, but it remained the same. I've digged through Axis source code until I reached the DeserializationContextImpl class where parsing gets done and I was able to measure parsing times. With Xerces, I get a 30 ms average parsing time and with Piccolo an average of 20 ms (pretty good, btw). I've noticed that the input stream that is passed to the parser does not contain the full XML document to parse - most of the time it contains only 8192 bytes and, when the parser attempts to read it, it somehow triggers reading (I assume from a network socket) of the rest of the document. When I use a .Net (.Net Framework 1.1) client to consume the same Web Service, on the Server and Client machines, results are much better - they are often below 1 second and never exceed 2 seconds. How can I influence the way Java/Axis uses the network (if it really is the problem), e.g., setting a property which, in some cases, increases the buffer size for network communication? Or the way .Net's virtual machine uses the Windows Network subsystem is always more efficient than Java? Many thanks. Nuno Guerreiro __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
really stumped... messageContext.getOperation() = null
Hello, I have been running Axis 1.1 for a while... With a handler that calls messageContext.getOperation() to log the client method request... The service runs in a WAS 5.1 env on AIX... Out of the blue I start getting null pointers from the handler... I traces it down this line: public void invoke(MessageContext messageContext) throws AxisFault { String name = messageContext.getOperation().getName(); } So I started searching Sure enough the getOperation() returns null from an Axis test client and JMeter script... In the debugger I can see the AxisServer.class and the msgContext in this line: setCurrentMessageContext(msgContext); whose operation is null huh? There are other services deployed in this same container that use the same handler just fine. The Axis JavaDoc says it's ok for the messageContext.getOperation() to return null If that is the case how does the Axis servlet know which method to call in the service class implementation? Should I be using something other than messageContext.getOperation() to get the method the client is calling? Thanks a ton for any advise -- Kevin
Please!!! help me on this exception
Hello All, I am trying to setup axis in tomcat 5.5.4 with java 5.0. I got an Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/client/AdminClient. I do not know what is wrong. Please help me! Thank you very much! --tom === D:\axis-1_2RC1\samples\stockjava -cp d:\jakarta-tomcat-5.5.4\webapps\axis.jar;d:\jakarta-tomcat-5.5.4\webapps\commons-discovery.jar;d:\jakarta-tomcat-5.5.4\webapps\commons-logging.jar;d:\jakarta-tomcat-5.5.4\webapps\jaxrpc.jar;d:\jakarta-tomcat-5.5.4\webapps\saaj.jar;d:\jakarta-tomcat-5.5.4\webapps\log4j-1.2.8.jar;d:\jakarta-tomcat-5.5.4\webapps\xml-apis.jar;d:\jakarta-tomcat-5.5.4\webapps\xercesImpl.jar org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsddException in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/client/AdminClient === Do you Yahoo!? The all-new My Yahoo! Get yours free!
Re: Please!!! help me on this exception
is axis.jar in your classpath? rob - Original Message - From: tom chen To: [EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 6:16 PM Subject: Please!!! help me on this exception Hello All, I am trying to setup axis in tomcat 5.5.4 with java 5.0. I got an Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/client/AdminClient. I do not know what is wrong. Please help me! Thank you very much! --tom === D:\axis-1_2RC1\samples\stockjava -cp d:\jakarta-tomcat-5.5.4\webapps\axis.jar;d:\jakarta-tomcat-5.5.4\webapps\commons-discovery.jar;d:\jakarta-tomcat-5.5.4\webapps\commons-logging.jar;d:\jakarta-tomcat-5.5.4\webapps\jaxrpc.jar;d:\jakarta-tomcat-5.5.4\webapps\saaj.jar;d:\jakarta-tomcat-5.5.4\webapps\log4j-1.2.8.jar;d:\jakarta-tomcat-5.5.4\webapps\xml-apis.jar;d:\jakarta-tomcat-5.5.4\webapps\xercesImpl.jar org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsddException in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/client/AdminClient === Do you Yahoo!?The all-new My Yahoo! Get yours free!
Re: Please!!! help me on this exception
tom chen wrote: D:\axis-1_2RC1\samples\stockjava -cp d:\jakarta-tomcat-5.5.4\webapps\axis.jar;d:\jakarta-tom cat-5.5.4\webapps\commons-discovery.jar;d:\jakarta-tomcat-5.5.4\webapps\commons-logging.jar;d :\jakarta-tomcat-5.5.4\webapps\jaxrpc.jar;d:\jakarta-tomcat-5.5.4\webapps\saaj.jar;d:\jakarta -tomcat-5.5.4\webapps\log4j-1.2.8.jar;d:\jakarta-tomcat-5.5.4\webapps\xml-apis.jar;d:\jakarta -tomcat-5.5.4\webapps\xercesImpl.jar org.apache.axis.client.AdminClient -lhttp://localhost:80 Do you really have your JAR files in your Tomcat webapps directory? This just looks wrong. d:\jakarta-tomcat-5.5.4\webapps\axis.jar Should probably be something like this instead: d:\jakarta-tomcat-5.5.4\webapps\APP_NAME\WEB-INF\lib\axis.jar Same problem with most of your classpath there as well. -- James
RE: Document/Literal : bad part name in axis server response
I don't know if Jonas uses all axis tools options to generate what it needs to deploy the ws endpoints. I will ask it to the Jonas team. If i had time, i should also build a simple test ou of Jonas to evaluate the axis behaviour without Jonas. But, for the moment, time is precisely what i have not !... On the other hand, someone (Anne Thomas Manes, i think) has posted few days ago some lines of axis code where the return name is hard coded, and thus doesn't take into account neither the wsdl descriptor nor the wsdd file... I think i will wait for the axis team to give their opinion about all that... if they do it ! Thanks anyway... -Message d'origine- De : Michael Schuerig [mailto:[EMAIL PROTECTED] Envoyé : mardi 11 janvier 2005 11:51 À : [EMAIL PROTECTED] Objet : Re: Document/Literal : bad part name in axis server response On Tuesday 11 January 2005 07:26, Ephemeris Lappis wrote: I don't use wsdl2java. I had it the wrong way around and confused the java2wsdl from your original message with wsdl2java. In Jonas, using the new (not so new) ejb 2.1 service endpoint features, i just provide the wsdl (that is generated from the java endpoint interface), and the ejb and webservices descriptors (for the ejb deployment). At assembly time, Jonas produces the java stubs, the whole web application as a war with a limited wsdd descriptor. At deployment time, Jonas merges the war's wsdd file with the full platform's one to expose the web service endpoint. This is the wsdd file : Presumably the following is happening: At assembly time Jonas uses wsdl2java to generate, among other things, a deploy.wsdd. At deployment time, Jonas uses the Axis AdminClient to merge this deploy.wsdd into Axis' server-config.wsdd. Do you know if this is correct? ?xml version=1.0 encoding=UTF-8? deployment xmlns=http://xml.apache.org/axis/wsdd/; [snip] /deployment There are no operation elements in that WSDD. Without them, Axis won't use the names and types you intended in the input and output messages. From my point of view, Axis was expected to use the given wsdl file to handle client requests according to the descriptor it generated itself... Well, Axis (at least as of 1.2RC) does that. Not directly, though. You need to process your WSDL with wsdl2java and among other things, you get a deploy.wsdd with names, types and namespaces specified for operations. Also, the deployScope can be specified. I may be mistaken and I can't claim that Axis is doing everything right, but the problem in your case appears to be one of integration where the Jonas installation doesn't make full use of what Axis offers. I don't know Jonas, thus I can't say whether this is a genuine limitation of the respective Jonas version or a shortcoming of the deployment. Michael -- Michael Schuerig Contests between male toads over females are mailto:[EMAIL PROTECTED] often settled by the depth of the croak. http://www.schuerig.de/michael/--John Maynard Smith
Big problem generating correct code with WSDL2Java
Hello! I'm writing you because I'm having a lot of problems to generate a simple web service from a file .wsdl that is very simple. I wonder if you could help me please. I'm going to try to describe the steps that I'm doing. For this example, I'm using axis1.2rc2. 1) The command that I'm using to generate the code is the following: java org.apache.axis.wsdl.WSDL2Java --server-side --skeletonDeploy true -p signservice pruebacarm.wsdl file.wsdl - definitions xmlns=http://schemas.xmlsoap.org/wsdl/; xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:http=http://schemas.xmlsoap.org/wsdl/http/; xmlns:xs=http://www.w3.org/2001/XMLSchema; xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:mime=http://schemas.xmlsoap.org/wsdl/mime/; xmlns:dss=urn:testsign targetNamespace=urn:testsign name=urn:testsign types xs:schema targetNamespace=urn:testsign xmlns:xs=http://www.w3.org/2001/XMLSchema; xs:element name=SignRequest xs:complexType xs:sequence xs:element name=ID type=xs:string/ xs:element name=status type=xs:int/ /xs:sequence xs:attribute name=RequestID type=xs:string use=optional/ xs:attribute name=Profile type=xs:string use=optional/ /xs:complexType /xs:element xs:element name=SignResponse xs:complexType xs:sequence xs:element name=IDres type=xs:string/ xs:element name=statusRes type=xs:int/ /xs:sequence xs:attribute name=RequestID type=xs:string use=optional/ xs:attribute name=Profile type=xs:string use=required/ /xs:complexType /xs:element /xs:schema /types message name=SignRequestIn part name=body element=dss:SignRequest/ /message message name=SignRequestOut part name=body element=dss:SignResponse/ /message portType name=SignRequestSOAP operation name=getSign input message=dss:SignRequestIn/ output message=dss:SignRequestOut/ /operation /portType binding name=SignRequestSOAPBinding type=dss:SignRequestSOAP soap:binding style=document transport=http://schemas.xmlsoap.org/soap/http/ operation name=getSign soap:operation soapAction=urn:eSignService#getSign/ input soap:body use=literal/ /input output soap:body use=literal/ /output /operation /binding service name=eSignService port name=eSignServicePort binding=dss:SignRequestSOAPBinding soap:address location=http://micropeich.dif.um.es:8080/axis/services/eSignServicePort/ /port /service /definitions deploy.wsdd deployment xmlns=http://xml.apache.org/axis/wsdd/; xmlns:java=http://xml.apache.org/axis/wsdd/providers/java; !-- Services from eSignService WSDL service -- service name=eSignServicePort provider=java:RPC style=document use=literal parameter name=wsdlTargetNamespace value=urn:testsign/ parameter name=wsdlServiceElement value=eSignService/ parameter name=wsdlServicePort value=eSignServicePort/ parameter name=className value=signservice.SignRequestSOAPBindingSkeleton/ parameter name=wsdlPortType value=SignRequestSOAP/ parameter name=allowedMethods value=*/ typeMapping xmlns:ns=urn:testsign qname=ns:SignResponse type=java:signservice.SignResponse serializer=org.apache.axis.encoding.ser.BeanSerializerFactory deserializer=org.apache.axis.encoding.ser.BeanDeserializerFactory encodingStyle= / typeMapping xmlns:ns=urn:testsign qname=ns:SignRequest type=java:signservice.SignRequest serializer=org.apache.axis.encoding.ser.BeanSerializerFactory deserializer=org.apache.axis.encoding.ser.BeanDeserializerFactory encodingStyle= / /service /deployment 2) I write the code of the SignRequestSOAPImpl.java 3) then compile the code and deploy the service. Some comments to the code generated by the tool: - The name that uses to generate the name of the service is the name of the port in the .wsdl file (in my example, eSignServicePort) when I think that the name should be the name of the service name (in my example, eSignService) or the name of the service location. However, the code that generate in the class ESignServiceLocator.java in the variable: private java.lang.String eSignServicePort_address = http://micropeich.dif.um.es:8080/axis/services/eSignServicePort;; It is using the URL of the location I don't know if this is a bug or there are indepent things. But this is not my problem because I solved it putting in the location of the service that the name of the service is the name of the
RE: AXIS for Tandem OSS
Title: AXIS for Tandem OSS Claude, I've implemented Axis on HP NonStop (Tandem). There is a presentationposted onthe ITUG Java SIG home page (see link below) http://www.itug.org/sigs/java.cfm Scroll down to the "Document downloads" section. The presentation is entitled "Practical NonStop J2EE Development". See the section of the presentation that is entitled "Web Services Approach". There is an architecture diagram that identifies the pieces and how they fit together. There is also an article in the Nov/Dec issue of ITUG's "The Connection" magazine entitled "An Open Source Web Services Solution for NonStop", that describes the architecture. As a basic overview, I've built an Axis-based web app (i.e. a .war filethat containsall theAxis infrastructure)underneath HP's NSJSP servlet container, which runs underneath the iTP web server. I'm running Axis 1.1 in production but moving toward 1.2 in development. 'Hope that helps, Sam -Original Message-From: Conzemius, Clarence P. [mailto:[EMAIL PROTECTED]Sent: Tuesday, January 11, 2005 10:16 AMTo: '[EMAIL PROTECTED]'Subject: AXIS for Tandem OSS What version of AXIS would be used for Tandem OSS? My specific problem is related to the fact that wsdl2java created source files with org/apache/axis/client/Service which is not found on Tandem OSS. Has anyone installed AXIS on Tanem OSS? Any suggestions or directions would be greatly appreciated. Thanks. Clarence (Claude) P Conzemius Phone: 507-266-2189 Pager: 127-07565 e-mail: [EMAIL PROTECTED] Location: Siebens 828 Learn more about Paymentech's payment processing services at www.paymentech.com THIS MESSAGE IS CONFIDENTIAL. This e-mail message and any attachments are proprietary and confidential information intended only for the use of the recipient(s) named above. If you are not the intended recipient, you may not print, distribute, or copy this message or any attachments. If you have received this communication in error, please notify the sender by return e-mail and delete this message and any attachments from your computer. ..
Problem with custom serialization
Hi list, I have a problem with the serialization of a javabean style object. Short description: The javabean has an integer field which is not represented by a xsd:int type but instead by a pair of level href=#id4/ multiRef id=id4 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; soapenc:arrayType=xsd:anyType[3] xsi:type=soapenc:Array xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;2/multiRef Does anybody have an idea how I can change this? Is this possible. The following snippets are involved: The called service will return a List of BasePage objects: public class BasePage { private String name; private String id; //no difference if I use Integer private int level; public BasePage() {} public BasePage(String id, String name, int level) { this.id = id; this.name = name; this.level = new Integer(level); } public String getId() { return id; } public void setId(String id) { this.id = id; } public int getLevel() { return level; } public void setLevel(int level) { this.level = level; } public String getName() { return name; } public void setName(String name) { this.name = name; } } wsdd: deployment xmlns=http://xml.apache.org/axis/wsdd/; xmlns:java=http://xml.apache.org/axis/wsdd/providers/java; service name=guiService provider=java:RPC parameter name=className value=com.tst.PageFront/ parameter name=allowedMethods value=*/ beanMapping qname=freaquac:BasePage xmlns:freaquac=urn:guiService languageSpecificType=java:com.tst.domain.BasePage/ /service /deployment SOAP resonse: soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; soapenv:Body ns1:getAllPagesResponse soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; xmlns:ns1=http://localhost:8787/services/guiService; getAllPagesReturn href=#id0/ /ns1:getAllPagesResponse multiRef id=id0 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; soapenc:arrayType=xsd:anyType[3] xsi:type=soapenc:Array xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; item href=#id1/ item href=#id2/ item href=#id3/ /multiRef multiRef id=id2 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; soapenc:arrayType=xsd:anyType[3] xsi:type=soapenc:Array xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; id xsi:type=soapenc:stringxyz/id level href=#id4/ name xsi:type=soapenc:stringGemeindehof/name /multiRef multiRef id=id1 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; soapenc:arrayType=xsd:anyType[3] xsi:type=soapenc:Array xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; id xsi:type=soapenc:stringxyz/id level href=#id5/ name xsi:type=soapenc:stringGemeindeaufbau/name /multiRef multiRef id=id3 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; soapenc:arrayType=xsd:anyType[3] xsi:type=soapenc:Array xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; id xsi:type=soapenc:stringxyz/id level href=#id6/ name xsi:type=soapenc:stringGemeindehaus/name /multiRef multiRef id=id6 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; soapenc:arrayType=xsd:anyType[3] xsi:type=soapenc:Array xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;3/multiRef multiRef id=id4 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; soapenc:arrayType=xsd:anyType[3] xsi:type=soapenc:Array xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;2/multiRef multiRef id=id5 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; soapenc:arrayType=xsd:anyType[3] xsi:type=soapenc:Array xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;1/multiRef /soapenv:Body/soapenv:Envelope WSDL: ?xml version=1.0 encoding=UTF-8? wsdl:definitions targetNamespace=http://localhost:8787/services/guiService; xmlns:apachesoap=http://xml.apache.org/xml-soap; xmlns:impl=http://localhost:8787/services/guiService; xmlns:intf=http://localhost:8787/services/guiService; xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; !--WSDL created by Apache Axis version: 1.2RC2Built on Nov 16, 2004 (12:19:44 EST)-- wsdl:types schema targetNamespace=http://localhost:8787/services/guiService; xmlns=http://www.w3.org/2001/XMLSchema; import namespace=http://xml.apache.org/xml-soap/ import namespace=http://schemas.xmlsoap.org/soap/encoding//
RE: Disabling Certification validation in HTTPS
Title: Message The code below uses a keystore to validate sites. Check sun site or other resources to find out how to build a keystore/truststore from: keytool I generate a self signed cert in the keystore and then import remote client certs. // If we are running httpsprotocol (encrypted) if ("https".equalsIgnoreCase(protocol)) { // yes: https String keyStore = System.getProperty("https.truststore"); if (keyStore == null) { //keyStore = "D:/java/src/certs/client.keystore"; // Use the line above and comment out below towhen testing this main throw new GenericException("The underlying protocol requires a " + "truststore (system property https.truststore)"); } System.setProperty("javax.net.ssl.trustStore", keyStore); System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol"); Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());// System.setProperty("javax.net.debug", "ssl"); } // establish ServiceLocator locator = new ServiceLocator();port = locator.getServiceContract(new URL(protocol, host, portNumber, url)); ( (Stub)port).setMaintainSession(true); Raul From: Faucher, Christian [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 2:10 PMTo: [EMAIL PROTECTED]Subject: Disabling Certification validation in HTTPS Hi, I have a SOAP Server that does not have (yet) its trusted certificate, but nonetheless runs in HTTPS. For instance, we can use portals on it, providing we accept the fact the server cannot authenticate itself. I run a Axis client that connects to this server, using a HTTPS:// URL. However, the client fails, saying that the server has no trusted certificate (see exception below). Is there a way in Axis to configure an Axis client to accept the SSL connection, no matter ifthe certificate is valid/trusted/found? Thank you in advance! Christian Faucher javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate foundat org.apache.axis.AxisFault.makeFault(AxisFault.java:101)at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:97)at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)at org.apache.axis.client.Call.invokeEngine(Call.java:2719)at org.apache.axis.client.Call.invoke(Call.java:2702)at org.apache.axis.client.Call.invoke(Call.java:1738)at axa.Main.main(Main.java:90)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke(Method.java:324)at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate foundat com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA12275)at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA12275)at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA12275)at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA12275)at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:131)at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:370)at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:88)... 13 moreCaused by: sun.security.validator.ValidatorException: No trusted certificate foundat sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304)at sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107)at sun.security.validator.Validator.validate(Validator.java:202)at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(DashoA12275)at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(DashoA12275)... 23 moreException in thread "main" "Ce message est confidentiel, a l'usage exclusif du destinataire ci-dessus et son contenu ne represente en aucun cas un engagement de la part de AXA, sauf en cas de stipulation expresse et par ecrit de la part de AXA. Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee prealablement. Si vous n'etes pas destinataire de ce message, merci d'en avertir immediatement l'expediteur.""This e-mail message is confidential, for the exclusive use of the addressee
client-config.wsdd
Where can documentation on how to configure client side axis using client-config.wsdd. Raj
RE: client-config.wsdd
I found the following in this article: http://www.fawcette.com/javapro/2003_04/online/wsdl_kjones_04_29_03/defa ult_pf.aspx To create an Axis client that uses simple sessions, you need to configure the Axis client-side framework to use the handler. The procedure is similar to that for the server, but instead of deploying to the server, the config file is created locally. You do this by running the org.apache.axis.utils.Admin application. You run the code like this: org.apache.axis.utils.Admin client deploy.wsdd Raul -Original Message- From: EXT-Patel, Rajesh M [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 4:28 PM To: [EMAIL PROTECTED] Subject: client-config.wsdd Where can documentation on how to configure client side axis using client-config.wsdd. Raj
Re: org.xml.sax.SAXException: Found character data inside an array element while deserializing
You might need to change your array definitions from the current form to something like this: complexType name=ArrayOf_xsd_string sequence element name=item type=xsd:string minOccurs=0 maxOccurs=unbounded / /sequence /complexType There was a message about this on axis-dev a while back but I can't find it. On 11 Jan 2005 at 16:03, Daniel Hinojosa wrote: Has anyone seen this exception? org.xml.sax.SAXException: Found character data inside an array element while deserializing at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.client.Call.invoke(Call.java:2405) at org.apache.axis.client.Call.invoke(Call.java:2301) at org.apache.axis.client.Call.invoke(Call.java:1758)
RE: Disabling Certification validation in HTTPS
Instead of modifying the meta-inf stuff you can also call System.setProperty( org.apache.axis.components.net.SecureSocketFactory, com.xxx.client.util.UnsecureSocketFactory); at the very start of your application. Either in main or init (if run as an applet). Of course you have to replace com.xxx.client.util.UnsecureSocketFactory with whatever your actual socket factory class is. In the simple case you just create a factory which creates sockets that accept any certificate, but ideally you include the self-signed server certificate in your client and check against it. Carsten -- Carsten Friedrich Capital Markets CRC Limited Level 2, 9 Castlereagh Street, Sydney NSW 2000 Tel: +61 2 9233 7999 Fax: +61 2 9236 9177 http://www.cmcrc.com Capital Markets CRC Ltd (CMCRC) - Confidential Communication The information contained in this e-mail is confidential. It is intended solely for the addressee. If you receive this e-mail by mistake please promptly inform us by reply e-mail and then delete the e-mail and destroy any printed copy. You must not disclose or use in any way the information in the e-mail. There is no warranty that this e-mail is error or virus free. It may be a private communication, and if so, does not represent the views of the CMCRC and its associates. -Original Message- From: Rich Bramante [mailto:[EMAIL PROTECTED] Sent: Wednesday, 12 January 2005 8:30 To: [EMAIL PROTECTED] Subject: RE: Disabling Certification validation in HTTPS Hi Christian, Take a look at this thread. http://marc.theaimsgroup.com/?l=axis-userm=110211375809714w=2 What we had to do was to create a custom socket factory that trusted all certs, and then point Axis at our factory class via the meta-inf stuff. -Original Message- From: Faucher, Christian [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 3:10 PM To: [EMAIL PROTECTED] Subject: Disabling Certification validation in HTTPS Hi, I have a SOAP Server that does not have (yet) its trusted certificate, but nonetheless runs in HTTPS. For instance, we can use portals on it, providing we accept the fact the server cannot authenticate itself. I run a Axis client that connects to this server, using a HTTPS:// URL. However, the client fails, saying that the server has no trusted certificate (see exception below). Is there a way in Axis to configure an Axis client to accept the SSL connection, no matter if the certificate is valid/trusted/found? Thank you in advance! Christian Faucher javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:97) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java: 32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147) at org.apache.axis.client.Call.invokeEngine(Call.java:2719) at org.apache.axis.client.Call.invoke(Call.java:2702) at org.apache.axis.client.Call.invoke(Call.java:1738) at axa.Main.main(Main.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78) Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA12275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA12275) at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.ja va:186) at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:131) at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:370) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:88) ... 13 more Caused by: sun.security.validator.ValidatorException: No trusted certificate found at sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.jav a:304) at sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:1 07) at sun.security.validator.Validator.validate(Validator.java:202) at
Re: Big problem generating correct code with WSDL2Java
faultstringNo such operation 'SignRequest'/faultstring This happens because your operation is called getSign not SignRequest, right? I don't really understand how this works though. I thought that you have the same name for the operation and the top element in your request. (Your names are different: SignRequest and getSign) faultstringjava.lang.ClassCastException: org.apache.axis.encoding.ser.BeanDeserializer/faultstring Maybe because encodingStyle is not set to an empty string? Instead of using typeMapping why don't you use the beanMapping tag? Antonio Ruiz Martínez wrote: Hello! I'm writing you because I'm having a lot of problems to generate a simple web service from a file .wsdl that is very simple. I wonder if you could help me please. I'm going to try to describe the steps that I'm doing. For this example, I'm using axis1.2rc2. 1) The command that I'm using to generate the code is the following: java org.apache.axis.wsdl.WSDL2Java --server-side --skeletonDeploy true -p signservice pruebacarm.wsdl file.wsdl - definitions xmlns=http://schemas.xmlsoap.org/wsdl/; xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:http=http://schemas.xmlsoap.org/wsdl/http/; xmlns:xs=http://www.w3.org/2001/XMLSchema; xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:mime=http://schemas.xmlsoap.org/wsdl/mime/; xmlns:dss=urn:testsign targetNamespace=urn:testsign name=urn:testsign types xs:schema targetNamespace=urn:testsign xmlns:xs=http://www.w3.org/2001/XMLSchema; xs:element name=SignRequest xs:complexType xs:sequence xs:element name=ID type=xs:string/ xs:element name=status type=xs:int/ /xs:sequence xs:attribute name=RequestID type=xs:string use=optional/ xs:attribute name=Profile type=xs:string use=optional/ /xs:complexType /xs:element xs:element name=SignResponse xs:complexType xs:sequence xs:element name=IDres type=xs:string/ xs:element name=statusRes type=xs:int/ /xs:sequence xs:attribute name=RequestID type=xs:string use=optional/ xs:attribute name=Profile type=xs:string use=required/ /xs:complexType /xs:element /xs:schema /types message name=SignRequestIn part name=body element=dss:SignRequest/ /message message name=SignRequestOut part name=body element=dss:SignResponse/ /message portType name=SignRequestSOAP operation name=getSign input message=dss:SignRequestIn/ output message=dss:SignRequestOut/ /operation /portType binding name=SignRequestSOAPBinding type=dss:SignRequestSOAP soap:binding style=document transport=http://schemas.xmlsoap.org/soap/http/ operation name=getSign soap:operation soapAction=urn:eSignService#getSign/ input soap:body use=literal/ /input output soap:body use=literal/ /output /operation /binding service name=eSignService port name=eSignServicePort binding=dss:SignRequestSOAPBinding soap:address location=http://micropeich.dif.um.es:8080/axis/services/eSignServicePort/ /port /service /definitions deploy.wsdd deployment xmlns=http://xml.apache.org/axis/wsdd/; xmlns:java=http://xml.apache.org/axis/wsdd/providers/java; !-- Services from eSignService WSDL service -- service name=eSignServicePort provider=java:RPC style=document use=literal parameter name=wsdlTargetNamespace value=urn:testsign/ parameter name=wsdlServiceElement value=eSignService/ parameter name=wsdlServicePort value=eSignServicePort/ parameter name=className value=signservice.SignRequestSOAPBindingSkeleton/ parameter name=wsdlPortType value=SignRequestSOAP/ parameter name=allowedMethods value=*/ typeMapping xmlns:ns=urn:testsign qname=ns:SignResponse type=java:signservice.SignResponse serializer=org.apache.axis.encoding.ser.BeanSerializerFactory deserializer=org.apache.axis.encoding.ser.BeanDeserializerFactory encodingStyle= / typeMapping xmlns:ns=urn:testsign qname=ns:SignRequest type=java:signservice.SignRequest serializer=org.apache.axis.encoding.ser.BeanSerializerFactory deserializer=org.apache.axis.encoding.ser.BeanDeserializerFactory encodingStyle= / /service /deployment 2) I write the code of the SignRequestSOAPImpl.java 3) then compile the code and deploy the service. Some comments to the code generated by the tool: - The name that uses to generate the name of the service is the name of the port in the
Service.createCall
hi, I'm trying to consume a web service using AXIS client API. Can anyone give me the best practice to code the client application? Should I create Service or Call object all the time, or can I reuse it... or what if I want to use Service or Call object in a Servlet, which is not thread-safe. Thanks in advance.
Service.createCall
hi, I'm trying to consume a web service using AXIS client API. Can anyone give me the best practice to code the client application? Should I create Service or Call object all the time, or can I reuse it... or what if I want to use Service or Call object in a Servlet, which is not thread-safe. Thanks in advance.
RE: Service.createCall
Hi, I figured out that writing a client with stub is the most easiest thing to do. You don't have to worry about writing the creation of call code manually. Create the stub from wsdl2java. You can use AudaOrderService audaOrderService = new AudaOrderServiceLocator(); AudaOrderServicePort audaOrderServicePort = audaOrderService.getAudaOrderServicePort(new URL(url)); binding = new AudaOrderSOAPBindingStub(); // safety first ((AudaOrderSOAPBindingStub) binding).setTimeout(60); //call the webservice method audaOrderServicePort.requestPacketList(param1,..); Thanks, Vivek -Original Message- From: jecki [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 9:36 AM To: [EMAIL PROTECTED] Subject: Service.createCall hi, I'm trying to consume a web service using AXIS client API. Can anyone give me the best practice to code the client application? Should I create Service or Call object all the time, or can I reuse it... or what if I want to use Service or Call object in a Servlet, which is not thread-safe. Thanks in advance. _ This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. This message is confidential and may also be legally privileged. If you are not the intended recipient, please notify [EMAIL PROTECTED] immediately. You should not copy it or use it for any purpose, nor disclose its contents to any other person. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of ADP.
Re: Axis Wiki ?? Where did it go??
Hi folks, I've updated the whole of the new Wiki site. Now, most of links should be working well. Please let me know if you find any crucial issues on it. Thanks, Toshi [EMAIL PROTECTED] On Thu, 6 Jan 2005, Jeff Greif wrote: - Original Message - From: Toshiyuki Kimura [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, January 06, 2005 7:32 PM Subject: Re: Axis Wiki ?? Where did it go?? ... So, we've just changed the Wiki site to the new one. http://wiki.apache.org/ws/FrontPage/Axis;. Note that most (but not all) of the links on this page are broken. Jeff
Axis and .Net client
Hi, I am trying to invoke a webservice running on Axis from a .Net client. The method doesnt take any arguments (empty). The .Net client sends a message that looks like the following soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/ xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd=http://www.w3.org/2001/XMLSchemasoap:Body //soap:Envelope Axis complains with java.lang.Exception: Body not found Any ideas? Thanks, Vishu
[ATTN] English Axis Wiki was updated
To: $BF|K\8l(BAxis$B%3%_%e%K%F%#$N3'MM(B (B $B!!LZB<$G$9!#(B (B $B!!F|K\8l%3%_%e%K%F%#$N(BFAQ/Wiki [1] $B$+$iK\2H(B FAQ/Wiki [2] $B$H$7$F%j%s%/$,(B $BD%$i$l$F$$$k1Q8l%3%s%F%s%D$K$D$$$F$G$9!#(B (B $B!!$3$l$^$G(BWiki$B$d%"!<%+%$%P$r1?MQ$7$F$$$?(Bnagoya$B$H$$$&%5!<%PL>$,GQ;_$5$l$k(B $B$3$H$K$J$j!"(BAxis$B$N(BWiki$B$b0z1[$7$rM>57$J$/$5$l$^$7$?!#99$K!"(BWiki$B%W%m%0%i%`(B $B$b%"%C%W%G!<%H$5$l$?$?$a!"%^%9%?!<$N1Q8lHG$G%j%s%/@Z$l$,B?H/$7$F$$$^$7$?!#(B (B $B!!$=$NLdBj$NBP:v$rBG$A!"[EMAIL PROTECTED](B axis-user $B$GJs9p(B [3] $B$7$F$*$-$^$7$?!#(B (B $B!!F|K\8lHG(BWiki$B$K$bL5$$:G?7>pJs$K$D$$$F$O!"$3$A$i$N1Q8lHG(B[2] $B$b9g$;$F;2>H(B $B$/[EMAIL PROTECTED](B (B $B59$7$/8f4j$$$7$^$9!#(B (B (B[1] http://ws.apache.org/axis/jp/wiki-java/index.html (B[2] http://wiki.apache.org/ws/FrontPage/Axis (B[3] http://www.mail-archive.com/axis-user@xml.apache.org/msg25668.html (B (B--- (BToshi [EMAIL PROTECTED] (B (B- (BTo unsubscribe, e-mail: [EMAIL PROTECTED] (BFor additional commands, e-mail: [EMAIL PROTECTED]
Re: Axis and .Net client
It depends what binding style and encoding your AXIS server is running with. If it's in rpc/encoded or wrapped/literal it's expecting at least the method name inside the soap body. soap:Body myMethod/ /soap:Body The default for AXIS is RPC/Encoded. http://www-128.ibm.com/developerworks/webservices/library/ws-whichwsdl/ Vishu wrote: Hi, I am trying to invoke a webservice running on Axis from a .Net client. The method doesnt take any arguments (empty). The .Net client sends a message that looks like the following soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"soap:Body //soap:Envelope Axis complains with java.lang.Exception: Body not found Any ideas? Thanks, Vishu
RE: Axis and .Net client
I specified document in WSDL and Axis translated that to Wrapped. I see that it lets empty method names only in document style encoding. Thanks, Vishu From: Bill Keese [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 10:31 PM To: [EMAIL PROTECTED] Subject: Re: Axis and .Net client It depends what binding style and encoding your AXIS server is running with. If it's in rpc/encoded or wrapped/literal it's expecting at least the method name inside the soap body. soap:Body myMethod/ /soap:Body The default for AXIS is RPC/Encoded. http://www-128.ibm.com/developerworks/webservices/library/ws-whichwsdl/ Vishu wrote: Hi, I am trying to invoke a webservice running on Axis from a .Net client. The method doesnt take any arguments (empty). The .Net client sends a message that looks like the following soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/ xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd=http://www.w3.org/2001/XMLSchemasoap:Body //soap:Envelope Axis complains with java.lang.Exception: Body not found Any ideas? Thanks, Vishu
Re: Axis and .Net client
I guess you ran wsdl2java, and you are using the generated deploy.wsdd file, right? When you run wsdl2java, maybe you need the -W flag so it doesn't change to wrapped? Haven't tried it though. Vishu wrote: I specified document in WSDL and Axis translated that to Wrapped. I see that it lets empty method names only in document style encoding. Thanks, Vishu From: Bill Keese [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 11, 2005 10:31 PM To: [EMAIL PROTECTED] Subject: Re: Axis and .Net client It depends what binding style and encoding your AXIS server is running with. If it's in rpc/encoded or wrapped/literal it's expecting at least the method name inside the soap body. soap:Body myMethod/ /soap:Body The default for AXIS is RPC/Encoded. http://www-128.ibm.com/developerworks/webservices/library/ws-whichwsdl/ Vishu wrote: Hi, I am trying to invoke a webservice running on Axis from a .Net client. The method doesnt take any arguments (empty). The .Net client sends a message that looks like the following soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"soap:Body //soap:Envelope Axis complains with java.lang.Exception: Body not found Any ideas? Thanks, Vishu