Search the web
Sign In
New User? Sign Up
wsdl
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
What is wrong with this simple wsdl??   Message List  
Reply | Forward Message #2155 of 2160 |
I have a very simple wsdl (below) that I expect to load using SoapUI
and get a proper request. But the request generated by SoapUI does
not contain an element for the one and only method defined in the
wsdl. Something is obviously wrong in the wsdl but I don't know what
it is.

Any help is greatly appreciated!

The generated SoapUI request:

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<aValue>?</aValue>
</soapenv:Body>
</soapenv:Envelope>

Notice it does not nest the <aValue> element inside the operation.
In fact there is no element corresponding to the operation. Why?

The wsdl:

<?xml version="1.0" encoding="UTF-8" ?>
<definitions
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://hello.ws.admin.ccr.com/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://hello.ws.admin.ccr.com/"
name="HelloService">

<message name="addTwoRequest">
<part name="aValue" type="xsd:string" />
</message>
<message name="addTwoResponse">
<part name="result" type="xsd:string" />
</message>

<portType name="Hello">
<operation name="addTwo">
<input message="tns:addTwoRequest" />
<output message="tns:addTwoResponse" />
</operation>
</portType>

<binding name="HelloPortBinding" type="tns:Hello">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
<operation name="addTwo">
<soap:operation soapAction="" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
</binding>

<service name="HelloService">
<port name="HelloPort" binding="tns:HelloPortBinding">
<soap:address
location="http://localhost:8080/simplews/hello" />
</port>
</service>

</definitions>







Fri Sep 26, 2008 8:15 pm

kellyclauson
Online Now Online Now
Send Email Send Email

Forward
Message #2155 of 2160 |
Expand Messages Author Sort by Date

I have a very simple wsdl (below) that I expect to load using SoapUI and get a proper request. But the request generated by SoapUI does not contain an element...
kellyclauson
Online Now Send Email
Sep 26, 2008
8:15 pm

... The short answer is "because you told it not to." :) <soap:binding transport="http://schemas.xmlsoap.org/soap/http <http://schemas.xmlsoap.org/soap/http>"...
Jason Viers
bean8107
Offline Send Email
Sep 26, 2008
8:36 pm

Jason - Thank you so much! ... operation. ... Why? ... define ... RPC/literal, or...
kellyclauson
Online Now Send Email
Sep 26, 2008
9:00 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help