Your hand-written WSDL is not valid. It's missing a <soap:operation> definition.

Anne

On 8/3/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:

I downloaded nightly build of 2nd august as I was facing some class loader
issues. Now things are so screwed up I cannot even run a hello world
service.

Here is my hand written hello wsdl. This used to work fine.

Now I can upload the service. And when I browse to see the wsdl in the
browser (I suppose generated by Axis2) it is very different from my written
wsdl. Now it has added something like

- <wsdl:portType
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
name="HelloWSPortType">
- <wsdl:operation
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
name="sayHello">
  <wsdl:input
xmlns:wsaw="http://www.w3.org/2005/08/addressing/wsdl";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
message="ns0:name" wsaw:Action="urn:sayHello" />
  <wsdl:output
xmlns:wsaw="http://www.w3.org/2005/08/addressing/wsdl";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
message="ns0:helloSuccess"
wsaw:Action="http://webservices.phoenix.novartis.com/hello/HelloServicePortType/sayHelloResponse";
/>
  </wsdl:operation>
  </wsdl:portType>

wsaw:Action attribute and named it sayHelloResponse. Now the client code
gives an exception saying unexpected element sayHelloResponse found.

Should I download next build. How do I get back to scratch and write a hello
world successfully.




 ___________________________________________________
 Debasish Dutta Roy
 NITAS
 Ph: 617-871-3033
 _________________________

 CONFIDENTIALITY NOTICE

 The information contained in this e-mail message is intended only for the
exclusive use of the individual or entity named above and may contain
information that is privileged, confidential or exempt from disclosure under
applicable law. If the reader of this message is not the intended recipient,
or the employee or agent responsible for delivery of the message to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please notify the sender
immediately by e-mail and delete the material from any computer.  Thank you.

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




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

Reply via email to