Re: wsdl2java NPE for liberty-idff-wsdl-v1.1.wsdl

2007-10-25 Thread James Mao
Here you go https://issues.apache.org/jira/browse/CXF-1140 Regards, James Hi, I tested for very simple schema, but it does not work at all in any case. worked OK for simple schema and the absolute path also worked OK. But if XSD is complcated, it does not work, I upload one wsdl file wsdl2ja

Re: wsdl2java NPE for liberty-idff-wsdl-v1.1.wsdl

2007-10-25 Thread James Mao
We use the wsdl4j to parse the wsdl and schemas, the error message simply said that wsdl4j can not parse the schema, the reason it can not parse the schema is that it can not get it. I found that the "extension-types.xsd" is using a relative path, the location is relative to the document h

Re: wsdl2java NPE for liberty-idff-wsdl-v1.1.wsdl

2007-10-25 Thread James Mao
Hi, I tested for very simple schema, but it does not work at all in any case. As I said in the previous email, it should work, I tested it yesterday, there's no problem if you have a case which failed, then it's possibly a bug, please file an issue on jira worked OK for simple schema

Re: wsdl2java NPE for liberty-idff-wsdl-v1.1.wsdl

2007-10-25 Thread peak
Hi, What does the following error mean? Both get-csta-features.xsd and extension-types.xsd are deployed in the same web site in my local computer, they are accessible from browser. thanks [java] Caused by: javax.wsdl.WSDLException: WSDLException(at /definitions/types/xs:schema/xsd:schema/

Re: wsdl2java NPE for liberty-idff-wsdl-v1.1.wsdl

2007-10-25 Thread hj
Hi, I tested for very simple schema, but it does not work at all in any case. worked OK for simple schema and the absolute path also worked OK. But if XSD is complcated, it does not work, I upload one wsdl file wsdl2java failed to generate code. Also CXF wsdl2java does not work with http proxy.

Re: wsdl2java NPE for liberty-idff-wsdl-v1.1.wsdl

2007-10-24 Thread James Mao
Hi, Hi, I have the same issue. According to the WSDL 1.1 spec (http://www.w3.org/TR/wsdl), WSDL can import xsd by using , but CXF wsdl2java throws exception. Sure, we do support this, *but* make sure the attribute is *location*, not the *schemaLocation* Another thing I am having a problem

Re: wsdl2java NPE for liberty-idff-wsdl-v1.1.wsdl

2007-10-24 Thread hj
Hi, I have the same issue. According to the WSDL 1.1 spec (http://www.w3.org/TR/wsdl), WSDL can import xsd by using , but CXF wsdl2java throws exception. Another thing I am having a problem in //types/schema is CXF wsdl2java does not recognize absolute schemaLocation. Even if I specified the abso

Re: wsdl2java NPE for liberty-idff-wsdl-v1.1.wsdl

2007-08-19 Thread James Mao
If you want to import schema, you have to put the inside the //types/schema node, e.g namespace="http://apache.org/hello_world_soap_http/types"; schemaLocation="schema1.xsd"/> Also, you can turn on the -validate to see the exact reason why the wsdl2java failed. Hope

Re: wsdl2java NPE for liberty-idff-wsdl-v1.1.wsdl

2007-08-18 Thread Glen Mazza
I'm getting the same error that you are getting. Running that WSDL on GlassFish Metro (using the Ant file listed under #5 here[1]) also generates an error, except we get a clue to the possible problem: [wsimport] [ERROR] Unable to parse "oasis-sstc-saml-schema-assertion-1.1.xsd" : /home/gmazza/w