Skip to Content.
Sympa Menu

perfsonar-dev - FW: [pS-dev] [Fwd: problem with SOAPClient]

Subject: perfsonar development work

List archive

FW: [pS-dev] [Fwd: problem with SOAPClient]


Chronological Thread 
  • From: Michael Michalis <>
  • To:
  • Subject: FW: [pS-dev] [Fwd: problem with SOAPClient]
  • Date: Thu, 09 Nov 2006 08:50:29 +0200



-----Original Message-----
From: Michael Michalis
[mailto:]

Sent: Thursday, November 09, 2006 8:50 AM
To: 'Maciej Glowiak'
Subject: RE: [pS-dev] [Fwd: problem with SOAPClient]

Hi Maciej,

It appears that the service fails only with the LSRegister request. For the
other types of request even for LSUpdate it works just fine. Were any
changes involving the handler of the Register request or maybe some schema
changes?

-Michalis

-----Original Message-----
From: Maciej Glowiak
[mailto:]

Sent: Wednesday, November 08, 2006 1:54 PM
To: Perfsonar Development List; Michael Michalis
Subject: Re: [pS-dev] [Fwd: problem with SOAPClient]

By the way, the server log could be useful to diagnose what happened
with the server.

If you set up the server I can test some requests with my client.
Let me know if so. My yahoo_id and skype_id are "maciej_psnc".

Maciej


Maciej Glowiak wrote:
> Michael,
>
> Please post such e-mails on the mailing list. Perhaps other participants
> had similar problems and they will be able to help you. (or just send
> CC to the list)
>
> I don't know what the problem may be. I tested SOAPClient today and it
> worked fine. I think the problem is with your tomcat installation.
>
> Maybe you didn't set proper properties in catalina.properties file? Then
> the LS seems to be deployed properly but in case of coming request it
> may return null ptr ex.
>
> Maybe some other opinions?
>
> Maciej
>
> -------- Original Message --------
> Subject: problem with SOAPClient
> Date: Wed, 08 Nov 2006 13:13:33 +0200
> From: Michael Michalis
> <>
> To: Maciej Glowiak
> <>
>
>
>
> Hi Maciej,
>
>
>
> I've downloaded from svn the entire perfsonar directory and rebuilt it
> using the instructions in the wiki.
>
> I've validaded axis and the page of the LookupService is shown on
> firefox as normal. I've tryied to test the installation using the
> included tests ( ls-run-client-register ) but I get an exception saying
> connection was refused. Then I tried to communicate with the service
> from another pc via the SOAPClient and I got the following exception:
>
> End point: http://194.42.2.67:80/axis/services/LookupService
>
> Request file: C:\LSRegisterRequest.xml
>
> Response file: C:\response.xml
>
> SOAPClient.makeRequest: General exception encountered by client
>
> AxisFault
>
> faultCode:
> {_http://schemas.xmlsoap.org/soap/envelope/}Server.userException_
>
> faultSubcode:
>
> faultString: _java.lang.NullPointerException_
>
> faultActor:
>
> faultNode:
>
> faultDetail:
>
> {http://xml.apache.org/axis/}hostname:localhost.localdomain
>
>
>
> _java.lang.NullPointerException_
>
> at
>
org.apache.axis.message.SOAPFaultBuilder.createFault(_SOAPFaultBuilder.java:
222_)
>
>
> at
>
org.apache.axis.message.SOAPFaultBuilder.endElement(_SOAPFaultBuilder.java:1
29_)
>
>
> at
>
org.apache.axis.encoding.DeserializationContext.endElement(_DeserializationC
ontext.java:1087_)
>
>
> at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
> Source)
>
> at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
> Source)
>
> at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown
>
> Source)
>
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
>
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
>
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>
> at javax.xml.parsers.SAXParser.parse(Unknown Source)
>
> at
>
org.apache.axis.encoding.DeserializationContext.parse(_DeserializationContex
t.java:227_)
>
>
> at org.apache.axis.SOAPPart.getAsSOAPEnvelope(_SOAPPart.java:696_)
>
> at org.apache.axis.Message.getSOAPEnvelope(_Message.java:435_)
>
> at
>
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(_MustUnderstandCh
ecker.java:62_)
>
>
> at org.apache.axis.client.AxisClient.invoke(_AxisClient.java:206_)
>
> at org.apache.axis.client.Call.invokeEngine(_Call.java:2784_)
>
> at org.apache.axis.client.Call.invoke(_Call.java:2767_)
>
> at org.apache.axis.client.Call.invoke(_Call.java:1792_)
>
> at ls.common.SOAPClient.makeRequest(_SOAPClient.java:98_)
>
> at ls.common.SOAPClient.main(_SOAPClient.java:158_)
>
> Client exiting
>
>
>
> It seems the server returned null or something. Do you have any idea why
> this problem is happening. Iwould very much appreciate any information
> about this issue.
>
>
>
>
>
>
>
> Best Regards,
>
>
>
>
>
> Michalis Michael
>
>


--

--------------------------------------------------------------------
| Maciej Glowiak Network Research and Development ||
|

Poznan Supercomputing and Networking Center ||
| (+48 61) 858 2024 http://monstera.man.poznan.pl/ ||
====================================================================




Archive powered by MHonArc 2.6.16.

Top of Page