Dennis Sosnoski wrote:
Actually, on looking at the WSDL for this particular service I see that it's an rpc/encoded service. JibxSoap is only designed to work with doc/literal web services, not the older rpc/encoded type, so it's not going to work with this particular service anyway.Hi Vic,
You'd need the Message and Response to define data values matching the WSDL service description, which can be found at http://www.asleep.net/soap/services.php?wsdl , then you'd need to define a JiBX binding for those classes to take them to and from XML. You should be able to do this by extracting the <schema> component of the WSDL to a separate file, then running Xsd2Jibx on that schema file.
Right now this step of extracting the schema and running Xsd2Jibx has to be done manually, but it should be pretty easy to make this automatic for most web services in the future. If you understand schema definitions you can also just skip Xsd2Jibx and write your own classes and binding definition for more flexibility, but Xsd2Jibx will give you a starting point even if you don't understand schema.
- Dennis
You can view a listing of many public demonstration web services at http://www.xmethods.com and even try them out using a linked web-based form interface (this is very good for understanding what's actually included in the requests and responses). The full list of services they have on record is at http://www.xmethods.com/ve2/Directory.po
Right now it looks like they're about 45% RPC (rpc/enc) and 55% DOC (doc/lit) web services, with almost all of the doc/lit services based on .NET. That's likely to change in the future, since rpc/enc has effectively been deprecated by the interoperability people.
- Dennis
------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ jibx-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jibx-users
