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</handler-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(UTF8StreamWriter.
>java:181)
> 
>org.jibx.runtime.impl.XMLWriterBase.addAttribute(XMLWriterBase.java:338
>)
> org.jibx.runtime.impl.MarshallingContext.attribute(MarshallingContext.java:
>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

Reply via email to