Forum tags


Top Posters

Last 30 days

  • ravinderjit.singh (29)
  • Antoine (26)
  • danielandross (17)
  • venkaiah.k (16)
  • shao (14)
  • sirswendu.ganapati (13)
  • eva.das (13)
  • metabyte (12)
  • milos.vacek (7)
  • cristiano.quintao (7)

All time

  • Antoine (1492)
  • Shivanand (1194)
  • cshekhar (928)
  • psq (796)
  • jag (391)
  • metabyte (383)
  • arnaud (328)
  • jalateras (325)
  • dfrench (271)
  • venkaiah.k (214)

Show last 4 hrs - 12 hrs - 24 hrs

POLL

We are looking for more information to tailor our training to better meet the needs of our customers. Please indicate all options that apply.

I would like to attend specialized training from Intalio on BPM as it relates to my application area:


I would like to attend specialized training from Intalio on BPM as it relates to my job function:


I would like to attend specialized training from Intalio on BPM as it relates to my industry:

Login

MAIN arrow FORUMS
Re:something wrong on my service's wsdl ? (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Re:something wrong on my service's wsdl ?
#16863
toto.toto3 (User)
Fresh Boarder
User Offline Click here to see the profile of this user
something wrong on my service's wsdl ? 1 Month, 3 Weeks ago Karma: 0  
Hello,


I've got a problem when I import my wsdl into an Intalio Project. It doenst recognize my return type of my operation...

This wsdl is generated with Java using jaxb api.



Thanks a lot,


Tom



Code: :

 <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions name="FlickrAgent" targetNamespace="http://service.flickr.osr/" xmlns:ns1="www.osrtp2.org" xmlns:ns2="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://service.flickr.osr/"  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">   <wsdl:import location="http://localhost:33000/flickr?wsdl=Flickr.wsdl" namespace="www.osrtp2.org">     </wsdl:import>   <wsdl:message name="create_PhotoSetResponse">     <wsdl:part element="ns1:rsp" name="return">     </wsdl:part>   </wsdl:message>   <wsdl:message name="getPhotosResponse">     <wsdl:part element="ns1:rsp" name="return">     </wsdl:part>   </wsdl:message>   <wsdl:message name="uploadPhoto">     <wsdl:part name="file" type="xsd:string">     </wsdl:part>   </wsdl:message>   <wsdl:message name="getPhotos">     <wsdl:part name="api_key" type="xsd:string">     </wsdl:part>     <wsdl:part name="user_id" type="xsd:string">     </wsdl:part>     <wsdl:part name="tags" type="xsd:string">     </wsdl:part>   </wsdl:message>   <wsdl:message name="create_PhotoSet">     <wsdl:part name="title" type="xsd:string">     </wsdl:part>     <wsdl:part name="desc" type="xsd:string">     </wsdl:part>     <wsdl:part name="primary_photo_id" type="xsd:string">     </wsdl:part>   </wsdl:message>   <wsdl:message name="add2PhotoSet">     <wsdl:part name="photoset_id" type="xsd:string">     </wsdl:part>     <wsdl:part name="photo_id" type="xsd:string">     </wsdl:part>   </wsdl:message>   <wsdl:message name="add2PhotoSetResponse">     <wsdl:part element="ns1:rsp" name="return">     </wsdl:part>   </wsdl:message>   <wsdl:message name="uploadPhotoResponse">     <wsdl:part element="ns1:rsp" name="return">     </wsdl:part>   </wsdl:message>   <wsdl:binding name="FlickrAgentSoapBinding" type="ns1:Flickr">     <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>     <wsdl:operation name="create_PhotoSet">       <soap:operation soapAction="" style="rpc"/>       <wsdl:input name="create_PhotoSet">         <soap:body namespace="www.osrtp2.org" use="literal"/>       </wsdl:input>       <wsdl:output name="create_PhotoSetResponse">         <soap:body namespace="www.osrtp2.org" use="literal"/>       </wsdl:output>     </wsdl:operation>     <wsdl:operation name="add2PhotoSet">       <soap:operation soapAction="" style="rpc"/>       <wsdl:input name="add2PhotoSet">         <soap:body namespace="www.osrtp2.org" use="literal"/>       </wsdl:input>       <wsdl:output name="add2PhotoSetResponse">         <soap:body namespace="www.osrtp2.org" use="literal"/>       </wsdl:output>     </wsdl:operation>     <wsdl:operation name="getPhotos">       <soap:operation soapAction="" style="rpc"/>       <wsdl:input name="getPhotos">         <soap:body namespace="www.osrtp2.org" use="literal"/>       </wsdl:input>       <wsdl:output name="getPhotosResponse">         <soap:body namespace="www.osrtp2.org" use="literal"/>       </wsdl:output>     </wsdl:operation>     <wsdl:operation name="uploadPhoto">       <soap:operation soapAction="" style="rpc"/>       <wsdl:input name="uploadPhoto">         <soap:body namespace="www.osrtp2.org" use="literal"/>       </wsdl:input>       <wsdl:output name="uploadPhotoResponse">         <soap:body namespace="www.osrtp2.org" use="literal"/>       </wsdl:output>     </wsdl:operation>   </wsdl:binding>   <wsdl:service name="FlickrAgent">     <wsdl:port binding="tns:FlickrAgentSoapBinding" name="FlickrImplPort">       <soap:address location="http://localhost:33000/flickr"/>     </wsdl:port>   </wsdl:service> </wsdl:definitions>

 
Report to moderator   Logged Logged  
 
Last Edit: 2008/11/13 11:08 By toto.toto3.
  The administrator has disabled public write access.
#16864
Antoine (Admin)
Admin
User Online Now Click here to see the profile of this user
Re:something wrong on my service's wsdl ? 1 Month, 3 Weeks ago Karma: 28  
This is not going to work as your import is remote:

<wsdl:import location="http://localhost:33000/flickr?wsdl=Flickr.wsdl" namespace="www.osrtp2.org">

Just import it in the project, and make the location relative.

That should get you a bit further.

Thanks,

Antoine
 
Report to moderator   Logged Logged  
 
Intalio, the Open Source BPMS company
www.intalio.com
  The administrator has disabled public write access.
#16865
toto.toto3 (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Re:something wrong on my service's wsdl ? 1 Month, 3 Weeks ago Karma: 0  
This is my entire project if you want to look what is going wrong...


I would like to call the create_Photoset and add2Photoset actions from my Flickr service for instance and get response
in order to put in another service like Google Calendar...


Thanks a lot Antoine to bring me responses of my questions,

Tom
File Attachment:
File Name: TOTO.zip
File Size: 17329
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#16866
Antoine (Admin)
Admin
User Online Now Click here to see the profile of this user
Re:something wrong on my service's wsdl ? 1 Month, 3 Weeks ago Karma: 28  
The messages defined in flickr.wsdl are invalid.

<wsdl:message name="create_PhotoSetResponse">
<wsdl:part element="ns1:rsp" name="return">
</wsdl:part>
</wsdl:message>
<wsdl:message name="getPhotosResponse">
<wsdl:part element="ns1:rsp" name="return">
</wsdl:part>
</wsdl:message>

The element they refer to are not declared in the namespace associated to the ns1 prefix. Where is the rsp element defined ?

If it is defined in another WSDL, you can copy the <types> tag and its contents in your WSDL. If it is defined in a xsd file, you should import it.

Try using the WSDL editor to define the WSDL properly, hopefully it should be easier than typing stuff by hand.

Thanks,

Antoine
 
Report to moderator   Logged Logged  
 
Intalio, the Open Source BPMS company
www.intalio.com
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop