Please post a JIRA and attach the WSDL.

On Thu, Oct 8, 2009 at 2:41 AM, noosy <[email protected]>wrote:

>
> I am trying to consume a web service (third party WS) from javascript. I
> supplied the URL for the Web Service wsdl to wsdl2js and out popped a .js
> file. When I go to use this .js file I get errors in Firebug
> "...myType_serialize is not defined".
>
> Looking inside the .js file I have noticed references to
> ...myType_serialize
> and ...myType_deserialize inside the service code constructor. Yet no where
> else are they mentioned let alone defined.
>
> E.g.
>
> function myServicePort()
> {
>     this.jsutils = new CxfApacheOrgUtil();
>     this.jsutils.interfaceObject = this;
>     this.synchronous = false;
>     this.url = null;
>     this.client = null;
>     this.response = null;
>     this.globalElementSerializers = [];
>     this.globalElementDeserializers = [];
>     this.globalElementSerializers['{...}myType'] = ...myType_serialize;
>     this.globalElementDeserializers['{...}myType'] = ...myType_deserialize;
>     ...
> }
>
> Does this indicate a problem generating the schema code/types from my WSDL?
>
> I hope someone can help! For more info just ask :)
>
> --
> View this message in context:
> http://www.nabble.com/Please-help---wsdl2js---generated-schema-code-types-missing-from-output.js--tp25799168p25799168.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>

Reply via email to