From the jibxsoap code, it looks like either the targetNamespace is
null or an element namespace has a null URI in MainSchema.xsd.

Fyi, we're planning a release of JiBX/WS, the successor to jibxsoap,
after the JiBX 1.2 release.  It has additional features, such as the POX
(Plain Old XML) protocol, TCP transport and XBIS encoding.  We do have a
bug with the WSDL generation in JiBX/WS currently.  It's likely that the
WSDL generation will change to use the JiBX 1.2 features.

Hope that helps.

Nigel

Steel City Phantom wrote:
> im trying to learn weblogic and jibx, and jibxsoap at the same time
> here.  i finally got the servlet to deploy (that took for ever to make
> sure it actually existed) and now when i try to pull the wsdl, i get
> this error
>
> java.lang.NullPointerException
>       at 
> org.jibx.runtime.impl.MarshallingContext.attribute(MarshallingContext.java:534)
>       at org.jibx.soap.wsdl.Sender.writeWSDL(Unknown Source)
>       at org.jibx.soap.server.SOAPServlet.doGet(Unknown Source)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>       at 
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
>       at 
> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
>       at 
> weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
>       at 
> weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
>       at 
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3395)
>       at 
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>       at weblogic.security.service.SecurityManager.runAs(Unknown Source)
>       at 
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
>       at 
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
>       at 
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
>       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
>       at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
>
> no real reason why.  here are my files
> its.xml - this lives in my WEB-INF
>
> <service name="its">
>   <schema>MainSchema.xsd</schema>
>   <wsdl-uri>http://paycare.jpmc.com/wsdl</wsdl-uri>
>   <handler-class>com.jpmc.paycare.its.ITS</handler-class>
>   <operation method="txnIPTransaction"/>
> </service>
>
> my schema file is in my WEB-INF
>
> here is my web.xml
>
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app id="WebApp_ID" version="2.4"
>       xmlns="http://java.sun.com/xml/ns/j2ee";
>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>       xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
>
>       <display-name>InterfaceTransactionProcessor</display-name>
>
>       <servlet>
>               <servlet-name>its</servlet-name>
>               <servlet-class>org.jibx.soap.server.SOAPServlet</servlet-class>
>               <init-param>
>                       <param-name>its-service</param-name>
>                       <param-value>its.xml</param-value>
>               </init-param>
>       </servlet>
>
>       <servlet-mapping>
>               <servlet-name>its</servlet-name>
>               <url-pattern>/</url-pattern>
>       </servlet-mapping>
>
> </web-app>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> jibx-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>   


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to