Since I'm not a soap expert I thought I would ask. The following soap
message isn't accepted by Netsuite, and their apache axis server
throws an exception about not being able to marshal the data.
Netsuite say's the soap messages should be in doc literal format. Is
it? Are there any options to soap4r to get it to format messages more
like the second example below? Their example soap request is
structured a bit differently, I included it at the bottom of this
message.
My soap message, makes server throw a marshalling error.
Since I'm not a soap expert I thought I would ask. The following soap
message isn't accepted by Netsuite, and their apache axis server
throws an exception about not being able to marshal the data.
Netsuite say's the soap messages should be in doc literal format. Is
it? Are there any options to soap4r to get it to format messages more
like the second example below? Their example soap request is
structured a bit differently, I included it at the bottom of this
message.
There is an option to turn on doc/literal in soap4r. I forget where it is, but the soap4r examples on dev.ctor.org are a treasure trove - way better than the documentation.
My soap message, makes server throw a marshalling error.
From the example below, looks like your namespace is wrong and you're missing that passport element. Are you generating these messages yourself (using soap4r) or are you using a wsdl4r-generated client?