I will be getting back to JibxSoap this month to push it to a beta 0.2 release, including code generation using the latest xsd2jibx stuff (which is much better than the downloaded alpha version, but lacks any form of command line or Ant task interface). Longer term we really need a replacement for xsd2jibx, especially with the JiBX beta 4 changes. I've discussed this with Cameron offlist.
- Dennis
Tim Sawyer wrote:
Any thoughts on this anyone?
Ta,
Tim.
On Tuesday 11 Jan 2005 12:59, Tim Sawyer wrote:
You're right.
At Sender.writeWSDL, line 144, the ArrayList nss contains three rows:
M_prefix="wns", m_uri="http://ws.company.com/wsdl" M_prefix="tns", m_uri="http://ws.company.com/LoginApplication" M_prefix="ns1", m_uri=null
My transaction xml is:
<service name="LoginApplication"> <schema>schema/LoginApplication.xsd</schema> <wsdl-uri>http://ws.company.com/wsdl</wsdl-uri>
<handler-class>com.company.webservices.providers.LoginSessionProvider</hand ler-class> <operation method="LoginApplication"/> </service>
Any ideas what I did wrong?
Tim.
Subject: Re: [jibx-users] wsdl not working Date: Friday 07 Jan 2005 20:11 From: Dennis Sosnoski <[EMAIL PROTECTED]> To: Tim Sawyer <[EMAIL PROTECTED]> Cc: [email protected]
It looks like it relates to the handling of namespaces. This code is writing out the WSDL <definitions> element start tag, adding all the namespace declarations to that element. Somehow there's a namespace it's trying to write with a null URI. Hmmm. The best I can suggest is that you either debug through this or add a println to the source code and recompile so that you can see the namespace prefix and URI it's trying to write.
- Dennis
Tim Sawyer wrote:
-------------------------------------------------------Ok, so I spoke to soon. Fixing the name, I got an error where it couldn't cope with the <?xml bit at the start of the file. I took that out, and now I get
java.lang.NullPointerException org.jibx.runtime.impl.UTF8StreamWriter.writeAttributeText(UTF8StreamWrite r. java:181)
org.jibx.runtime.impl.XMLWriterBase.addAttribute(XMLWriterBase.java:338 ) org.jibx.runtime.impl.MarshallingContext.attribute(MarshallingContext.jav a: 488) org.jibx.soap.wsdl.Sender.writeWSDL(Sender.java:144) org.jibx.soap.server.SOAPServlet.doGet(SOAPServlet.java:214) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
Any clues?
Cheers,
Tim.
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ jibx-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ jibx-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users
