Hi Martin, thank you for your response. I changed the operation name to 
"startProcess" but still getting the same error. Pls see updated wsdl. Could 
you please let me know what else I can try? Thanks!

 

________________________________

From: Martin Gainty [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 13, 2007 5:52 PM
To: [email protected]
Subject: Re: wsdl2java generates unusable client code

 

when operation name = "request" this confuses Axis as the AxisServlet 
specifically reserves 

*response* for response to client
anything with request as Input to the service


change your operation name to anything other than request or response


M-

--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.

        ----- Original Message ----- 

        From: Wang, Yong (MAN-Corporate) <mailto:[EMAIL PROTECTED]>  

        To: [email protected] 

        Sent: Tuesday, March 13, 2007 4:50 PM

        Subject: HELP: wsdl2java generates unusable client code

         

        Could some kind soul please help? I am running out of ideas why this is 
happening. I have these 2 WSDLs: OrchestrationLTService.wsdl and 
OrchestrationServices.wsdl (included in OrchestrationLTService.wsdl but not 
used). They are attached in this email. I am running axis 1.4. I use 
org.apache.axis.wsdl.WSDL2Java to generate the client stubs but the following 
client call would error out:

         

                    OrchestrationLTServiceLocator loc = new 
OrchestrationLTServiceLocator();

                    OrchestrationPT port = 
loc.getOrchestrationLTServicePort(new 
URL("http://localhost:8080/orch/services/OrchestrationLTService";));

                    Calendar c = Calendar.getInstance();

                    port.request(c, 5135098009L, "unit test");

         

        with exception:

         

        javax.xml.rpc.JAXRPCException: No operation name specified!

                    at org.apache.axis.client.Call.invokeOneWay(Call.java:1848)

                    at 
com.manheim.point.orch.ws.bpel.client.OrchestrationLTServiceBindingStub.request(OrchestrationLTServiceBindingStub.java:284)

                    at 
com.manheim.point.orch.ws.WSClientTest.testOrchestrationInitiation(WSClientTest.java:32)

                    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:585)

                    at junit.framework.TestCase.runTest(TestCase.java:154)

                    at junit.framework.TestCase.runBare(TestCase.java:127)

                    at junit.framework.TestResult$1.protect(TestResult.java:106)

                    at 
junit.framework.TestResult.runProtected(TestResult.java:124)

                    at junit.framework.TestResult.run(TestResult.java:109)

                    at junit.framework.TestCase.run(TestCase.java:118)

                    at junit.framework.TestSuite.runTest(TestSuite.java:208)

                    at junit.framework.TestSuite.run(TestSuite.java:203)

                    at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:474)

                    at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:342)

                    at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:194)

         

        Please help. Thanks.

         

        
________________________________


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

Attachment: OrchestrationLTService.wsdl
Description: OrchestrationLTService.wsdl

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

Reply via email to