Thanks Carey.. I tested this on 7.1 and it works but not on 6.3. The problem was a couple of missing jar files. xercesImpl.jar xml-apis.jar Just in case somone hits the same problem :-) frex
--- En date de : Mer 11.6.08, Carey Matthew Black <[EMAIL PROTECTED]> a écrit : De: Carey Matthew Black <[EMAIL PROTECTED]> Objet: Re: NULL pointer error when consuming a web service À: [email protected] Date: Mercredi 11 Juin 2008, 15h55 I would bet that the XML that you are sending either does not have a block like this.... " <SOAP-ENV:Header> <AuthenticationInfo> <userName>user_name</userName> <password>pwd_str</password> <authentication/> <locale/> <timeZone/> </AuthenticationInfo> </SOAP-ENV:Header " Or maybe the userName element was null but present and prevented the Mid-Tier from using a configured default? Or maybe the Mid-Tier does not have a configured default user? If we could see the XML that was sent and the WSDL it might be easier to troubleshoot the issue. HTH. -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Love, then teach Solution = People + Process + Tools Fast, Accurate, Cheap.... Pick two. On Wed, Jun 11, 2008 at 8:56 AM, Frex Popo <[EMAIL PROTECTED]> wrote: > ** > > Dear all, > > > > I have an ARS6.3 installed on WIN2000 OS with an Oracle9 DB. The Mid-Tier is > also installed on the same machine as the Remedy server. > > > > I am attempting to send some data to the remedy server using a Web Service > and getting the following error: > > > > <faultcode>soapenv:Server.userException</faultcode> > > <faultstring>java.lang.NullPointerException</faultstring> > > > > I tried to simplify things by using a simple form with a character field. I > used both the get and create operations and end up with the same error. I > thought this could be due to some invalid characters either in the data or > the field names but it wasn't to be. > > > > Here is the xml sent to the remedy Web Server: > > > > <?xml version="1.0" encoding="UTF-8"?> > > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > <soapenv:Body> > > <soapenv:Fault> > > <faultcode>soapenv:Server.userException</faultcode> > > <faultstring>java.lang.NullPointerException</faultstring> > > <detail /> > > </soapenv:Fault> > > </soapenv:Body> > > </soapenv:Envelope> > > > > Have you seen this error before? > > > > Ah! I am using SOAPSonar to test my Web Service. I used the same client in > the past to test some SAP Web Service and it worked fine. > > > > Many thanks in advance > > > > frex > > > > ________________________________ > Envoyé avec Yahoo! Mail. > Une boite mail plus intelligente. __Platinum Sponsor: www.rmsportal.com > ARSlist: "Where the Answers Are" html___ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

