Where shall I put my XSDs on a SCA service?

View: New views
3 Messages — Rating Filter:   Alert me  

Where shall I put my XSDs on a SCA service?

by Bruno Reis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there, I followed the IBM tutotial on:

http://www.ibm.com/developerworks/web/library/ws-soa-scasdo/index.html

I downloaded the sources and it run ok, but on my wsdl I do not get the param and return types as shown on the tutorial.

on the tutorial:

<binding name="WeatherServiceBinding" 
type="tns2:WeatherServicePortType">
<operation name="getTemperature">
<input>
<tns3:body xsi:type="tns3:tBody" use="literal"/>
</input>
<output>
<tns3:body xsi:type="tns3:tBody" use="literal"/>
</output>
<tns3:operation xsi:type="tns3:tOperation" soapAction=""/>
</operation>
<tns3:binding xsi:type="tns3:tBinding"
transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
</binding>


I get:


<wsdl:binding name="WeatherServiceBinding" type="tns2:WeatherServicePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>

<wsdl:operation name="getTemperature">
<soap:operation soapAction=""/>

<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>

</wsdl:operation>
</wsdl:binding>


What is wrong with this?
Shall I define another namespace or put the xsd on another place?

Thanks,
Bruno

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa+unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Where shall I put my XSDs on a SCA service?

by Graham Charters-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Bruno, so far as I can tell, the types are soap types, not the
types on your service portType (interface).  We have gone through many
iterations of WSDL generation (sometimes with xsi:type, sometimes
without :-S ) to try to get interop sorted out.  What you show many
not actually be wrong.  Does the service actually fail?  If so, can
you include the entire WSDL and a description of the failure?

Regards, Graham.

On 19 Nov, 14:18, "Bruno Reis" <bruno.p.r...@...> wrote:

> Hi there, I followed the IBM tutotial on:
>
> http://www.ibm.com/developerworks/web/library/ws-soa-scasdo/index.html
>
> I downloaded the sources and it run ok, but on my wsdl I do not get the
> param and return types as shown on the tutorial.
>
> on the tutorial:
>
> <binding name="WeatherServiceBinding"
>            type="tns2:WeatherServicePortType">
>     <operation name="getTemperature">
>       <input>
>         *<tns3:body xsi:type="tns3:tBody" use="literal"/>*
>       </input>
>       <output>
>         *<tns3:body xsi:type="tns3:tBody" use="literal"/>*
>       </output>
>       <tns3:operation xsi:type="tns3:tOperation" soapAction=""/>
>     </operation>
>     <tns3:binding xsi:type="tns3:tBinding"
>                   transport="http://schemas.xmlsoap.org/soap/http"
>                   style="document"/>
>   </binding>
>
> I get:
>
> <wsdl:binding name="WeatherServiceBinding"
> type="tns2:WeatherServicePortType">
> <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
> style="document"/>
> −
> <wsdl:operation name="getTemperature">
> <soap:operation soapAction=""/>
> −
> *<wsdl:input>
> <soap:body use="literal"/>
> </wsdl:input>
> −
> <wsdl:output>
> <soap:body use="literal"/>
> </wsdl:output>*
> </wsdl:operation>
> </wsdl:binding>
>
> What is wrong with this?
> Shall I define another namespace or put the xsd on another place?
>
> Thanks,
> Bruno
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa+unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Where shall I put my XSDs on a SCA service?

by Bruno Reis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Graham,

the service works just fine, then I guess its just a diferent version of the tutorial's wsdl example. I will study some more wsdl and sdo to undrstand it better.

Bruno
 

2008/11/19 Graham Charters <gcharters@...>

Hi Bruno, so far as I can tell, the types are soap types, not the
types on your service portType (interface).  We have gone through many
iterations of WSDL generation (sometimes with xsi:type, sometimes
without :-S ) to try to get interop sorted out.  What you show many
not actually be wrong.  Does the service actually fail?  If so, can
you include the entire WSDL and a description of the failure?

Regards, Graham.

On 19 Nov, 14:18, "Bruno Reis" <bruno.p.r...@...> wrote:
> Hi there, I followed the IBM tutotial on:
>
> http://www.ibm.com/developerworks/web/library/ws-soa-scasdo/index.html
>
> I downloaded the sources and it run ok, but on my wsdl I do not get the
> param and return types as shown on the tutorial.
>
> on the tutorial:
>
> <binding name="WeatherServiceBinding"
>            type="tns2:WeatherServicePortType">
>     <operation name="getTemperature">
>       <input>
>         *<tns3:body xsi:type="tns3:tBody" use="literal"/>*
>       </input>
>       <output>
>         *<tns3:body xsi:type="tns3:tBody" use="literal"/>*
>       </output>
>       <tns3:operation xsi:type="tns3:tOperation" soapAction=""/>
>     </operation>
>     <tns3:binding xsi:type="tns3:tBinding"
>                   transport="http://schemas.xmlsoap.org/soap/http"
>                   style="document"/>
>   </binding>
>
> I get:
>
> <wsdl:binding name="WeatherServiceBinding"
> type="tns2:WeatherServicePortType">
> <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
> style="document"/>
> −
> <wsdl:operation name="getTemperature">
> <soap:operation soapAction=""/>
> −
> *<wsdl:input>
> <soap:body use="literal"/>
> </wsdl:input>
> −
> <wsdl:output>
> <soap:body use="literal"/>
> </wsdl:output>*
> </wsdl:operation>
> </wsdl:binding>
>
> What is wrong with this?
> Shall I define another namespace or put the xsd on another place?
>
> Thanks,
> Bruno



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa+unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---