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

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

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 the difference ..?   Message List  
Reply | Forward Message #2035 of 2160 |
Re: [wsdl] what is the difference ..?

Alper,

I don't quite understand your question. A type referenced from a <wsdl:part> definition must reference a type defined in a schema that is defined in the <wsdl:types> section. The type cannot be defined using <wsdl:part> definitions.

In your two examples, the response messages on the wire would look something like this:

1:  <soap:Body>
       <ns1:accountSetParametersResponse xmlns:ns1="[namespace-uri]">
          <accountSetParametersReturn>
               ... (content of type "intf:AccountSetParametersResponse")
          </accountSetParametersReturn>
       </ns1:accountSetParametersResponse xmlns:ns1="[namespace-uri]">
      </soap:Body>

2:  <soap:Body>
       <ns1:accountSetParametersResponse xmlns:ns1="[namespace-uri]">
          <accountSetParametersReturn>
               ... (content of type "intf:AbmResponse")
          </accountSetParametersReturn>
          <m_subscriptionIdList>
               ... (content of type "intf:SubscriptionIdList")
          </m_subscriptionIdList>
       </ns1:accountSetParametersResponse xmlns:ns1="[namespace-uri]">
      </soap:Body>

On 12/13/06, Alper Aykac <aykacalper@...> wrote:

Hi,
 
 what is the difference between two following wsdl lines ;
 
1.)  AccountSetParametersResponse is a complex type which includes 2 wsld:parts in second line (accountSetParametersReturn and m_subscriptionIdList... both of which are different types as you can see..)
 <wsdl:message name="accountSetParametersResponse">
  <wsdl:part name="accountSetParametersReturn" type="intf:AccountSetParametersResponse"/>
 </wsdl:message>
 
 2.)
    <wsdl:message name="accountSetParametersResponse">
      <wsdl:part name="accountSetParametersReturn" type="intf:AbmResponse"/>
      <wsdl:part name="m_subscriptionIdList" type="intf:SubscriptionIdList"/>
</wsdl:message>
 
 
 br
Alper




Wed Dec 13, 2006 11:25 pm

annemanes
Offline Offline
Send Email Send Email

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

Hi, what is the difference between two following wsdl lines ; 1.) AccountSetParametersResponse is a complex type which includes 2 wsld:parts in second line...
Alper Aykac
aykacalper1971
Offline Send Email
Dec 13, 2006
6:07 pm

Alper, I don't quite understand your question. A type referenced from a <wsdl:part> definition must reference a type defined in a schema that is defined in the...
Anne Thomas Manes
annemanes
Offline Send Email
Dec 13, 2006
11:26 pm
Advanced

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