Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Multiple WSDL files

$
0
0
Re: Multiple WSDL files
Web Service Proxy Generator
Re: Multiple WSDL files
Feb. 21, 2013
12:19 pm
3PZ0QERRAShow this entire thread in new window
Gratar Image based on email address
From:Barbara Paltiel
To:Rick Strahl
Thanks Rick,
I've successfully tested both your samples and a free weather.wsdl which gave me practice with arrays and multi-level functions. I couldn't get the second WSDL to work on my Magento site, but I do have some help on getting the correct pathing from the IT person running the site. Unfortunately NEITHER of us have any control over the actual WSDL and the functions called.

Thanks for the SOAPUI suggestion - I'll try that first. Magento's PHP samples aren't much help when it comes to passing parameters and getting info back.


Then I'll concentrate on getting the second WSDL to map/generate correctly.
Barbara


Hi Barbara,

You can import multiple WSDL files into seperate proxies. If they are separate WSDLs each WSDL will map to a separate proxy class.

I recommend you take a look at SoapUI (free) to test your web service to make sure it works and you get the values right. Once you know it works then try running it through the generated proxies.

Complex objects etc. passed through the proxy generator can be complex - since you need to coax types to properly work between Fox and .NET, so making sure that the right values are availalble takes out one area of potential failure out of the equation.

+++ Rick ---


I'm trying to access a Magento ecommerce site. The basic WSDL URL I was given logs in and produces a session ID as expected. However, all other functions go through a "Call()" function which passes the session ID, the function (eg Sales_Order_List) I want plus any arguments and supposedly returns an object.

If the argument is a single string (such as a sales order ID) the code has no errrors, but the resulting object is empty, "Display Object" shows a class tree of "unknown type" and nothing else.

The actual source code has multiple WSDL.XML files in multiple directories. The one used in generating shows Session ID, Login and Call functions. Another WSDL.XML file in a different directory shows all Sales functions, etc. Is there a way to get all of these functions loaded? I'm not even sure the "Call" function is working when it SAYS it is, since the result is blank.

I'm completely unfamiliar with SOAP - what I know I've learned from the help files and some of it is confusing to a novice.... Any suggestions would be appreciated.




Barbara Paltiel


Viewing all articles
Browse latest Browse all 10393

Trending Articles