Greetings All,
I've used the WSDL Wizard to generate client and class binding code for a Web Service (NetSuite). I am able to successfully make requests to the service, but an exception is raised when the response is being de-serialized. The error is "No marshaler for: <record>" and the top of the stack looks like: Unhandled exception: No marshaler for: <record> WebServices.WsdlBinding(WebServices.XMLObjectBinding)>>notifyNoMarshalerFor:text: WebServices.SoapMarshalingManager(WebServices.XMLObjectMarshalingManager)>>notifyNoMarshalerFor:text: WebServices.MarshalingContext>>notifyNoMarshalerFor:text: WebServices.ComplexObjectMarshaler(WebServices.ObjectMarshaler)>>getRealMarshaler:unmarshal: WebServices.OneRelation(WebServices.Relation)>>getRealMarshaler:unmarshal: WebServices.OneRelation>>unmarshalFrom:do: WebServices.RelationMarshaler>>relationUnmarshalFrom:do: I have "Allow marshaling derived types in relations" checked when I generate the code (as I saw to do in the archives), so I don't know what other setting(s) I need to use. The SOAP message returned from the service looks fine, and the equivalent code in .NET works fine. Any help would be much appreciated, and I can provide more stack info and message information if necessary. Thanks, Todd Edwin King _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
I can take a look at the problem but I need some test case. The WSDL schema and message would help to understand what happened.
Tamara Kogan Smalltalk development, Cincom Systems > -----Original Message----- > From: [hidden email] > [mailto:[hidden email]] On Behalf Of Todd King > Sent: Tuesday, February 02, 2010 5:44 PM > To: [hidden email] > Subject: [vwnc] WebServices Marshaling problems on service response. > > Greetings All, > > I've used the WSDL Wizard to generate client and class binding code > for a Web Service (NetSuite). I am able to successfully make requests > to the service, but an exception is raised when the response is being > de-serialized. The error is "No marshaler for: <record>" and the top > of the stack looks like: > > Unhandled exception: No marshaler for: <record> > WebServices.WsdlBinding(WebServices.XMLObjectBinding)>>notifyN > oMarshalerFor:text: > WebServices.SoapMarshalingManager(WebServices.XMLObjectMarshal > ingManager)>>notifyNoMarshalerFor:text: > WebServices.MarshalingContext>>notifyNoMarshalerFor:text: > WebServices.ComplexObjectMarshaler(WebServices.ObjectMarshaler > )>>getRealMarshaler:unmarshal: > WebServices.OneRelation(WebServices.Relation)>>getRealMarshale > r:unmarshal: > WebServices.OneRelation>>unmarshalFrom:do: > WebServices.RelationMarshaler>>relationUnmarshalFrom:do: > > I have "Allow marshaling derived types in relations" checked when I > generate the code (as I saw to do in the archives), so I don't know > what other setting(s) I need to use. > > The SOAP message returned from the service looks fine, and the > equivalent code in .NET works fine. > > Any help would be much appreciated, and I can provide more stack info > and message information if necessary. > > Thanks, > Todd Edwin King > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |