in reply to Re^2: SOAP::Lite, .NET, and complex structures
in thread SOAP::Lite, .NET, and complex structures
The .NET client is likely doing all the right things wrt SOAP, so let's look at the perl web-service (assuming you used the standard tools to generate your proxy class).
Firstly, are you publishing WSDL for your service? If so, how did you construct it?
If your WSDL is not exactly correct, you'll get all sorts of namespace/type/arity issues.
I use Pod::WSDL to generate WSDL from my web-service classes. It requires you to add some POD to each method and class because perl doesn't handle types/arity statically. In practice, this just makes your class better documented.
WSDL descriptions of each method can generally be a little loose because perl (and SOAP::Lite) doesn't really molest the data too much before passing to the method... however, it's really important to properly describe (annotate) your classes (complex types).
I actually have my web-services serve up the WSDL at http://server/path/to/service?WSDL
Microsoft's wsdl.exe proxy class generator tool should have no problem consuming WSDL generated by Pod::WSDL.
-David
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: SOAP::Lite, .NET, and complex structures
by MidLifeXis (Monsignor) on Aug 15, 2007 at 15:26 UTC | |
by erroneousBollock (Curate) on Aug 16, 2007 at 04:38 UTC | |
by MidLifeXis (Monsignor) on Aug 16, 2007 at 15:15 UTC | |
by erroneousBollock (Curate) on Aug 16, 2007 at 16:42 UTC |