tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: NPE when calling webservice
Date Tue, 06 Mar 2012 23:45:08 GMT
try to put the wsdl in the root classloader (a bit dirty but at least we'll
be fixed).

- Romain


2012/3/7 Philip Johnson <ppjohnson63@gmail.com>

> Hi
> I put a break point in this class JndiEncBuilder at
>           // determine the location of the wsdl file
>            URL wsdlUrl = null;
>            if (referenceInfo.wsdlFile != null) {
>                try {
>                    wsdlUrl = new URL(referenceInfo.wsdlFile);
>                } catch (MalformedURLException e) {
>                    wsdlUrl =
> classLoader.getResource(referenceInfo.wsdlFile);
>                    if (wsdlUrl == null) {
>                        logger.warning("Error obtaining WSDL: " +
> referenceInfo.wsdlFile, e);
>                    }
>
>                }
>            }
>
> and substituted with full URL, so the malformed url exception is not
> happening. but it  still  fails.
>  Our project structure is all WS clients are in different module and added
> them onto the class path of EJB project. Will this help?
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/NPE-when-calling-webservice-tp3527162p4451727.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message