You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Eric Grace <er...@MessageMedia.com> on 2001/04/12 16:23:30 UTC

Testprovider Example Error

I'm having a problem with the soap server when running the testprovider
example

This test assumes a server URL of
http://localhost/soap/servlet/rpcrouter
Deploying the testprovider service...
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = org.w3c.dom.Node: method
getNamespaceURI()Ljava/lang/String; not found


CLASSPATH=[d:\JRun30\servers\lib\;d:\JRun30\servers\lib\soap.jar;d:\JRun30\servers\lib\xerces.jar;d:\JRun30\servers\lib\mail.jar;;d:\JRun30\servers\lib\smtp.jar;d:\JRun30\servers\lib\pop3.jar;d:\JRun30\servers\lib\imap.jar;d:\JRun30\servers\lib\mailapi.jar;d:\JRun30\servers\lib\activation.jar]

Using
    xerces1.2.3
    soap2.1
    jrun3.0



-eric


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: Testprovider Example Error

Posted by Eric Grace <er...@MessageMedia.com>.
unfortunately this didn't cure the problem.
    I have the testprovider class in the classpath of jrun
    the classpath of the testit script includes xerces and soap
    I updated the DeploymentDescriptor.xml to the following....

<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
             id="urn:testprovider">
  <isd:provider type="org.apache.soap.providers.TemplateProvider"
                scope="Application"
                methods="dummyMethod">
    <isd:java class="samples.provider.testprovider"/>
    <isd:option key="classpath"
value="d:\JRun30\servers\lib\xerces.jar;d:\JRun30\servers\lib\soap.jar;d:\JRun30\servers\lib"
/>
  </isd:provider>
  <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>

</isd:service>

Then I run the testit script and all calls to the server fail at the same point

Deploying the testprovider service...
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = org.w3c.dom.Node: method getNamespaceURI()Ljava/lang/String;
not found

Verify that its there
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = org.w3c.dom.Node: method getNamespaceURI()Ljava/lang/String;
not found

Running the testprovider client
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = org.w3c.dom.Node: method getNamespaceURI()Ljava/lang/String;
not found

Undeploy it now
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = org.w3c.dom.Node: method getNamespaceURI()Ljava/lang/String;
not found

Verify that its gone
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = org.w3c.dom.Node: method getNamespaceURI()Ljava/lang/String;
not found


What could I be missing...I have not used the browser gui to deploy the service
as I am under the impression that this script is an example of scripted
deployment.  Could I be missing something for the servlet runner?  Could you
elaborate on the actual flow of what is happening here?

-eric



yogesh palavalli wrote:

> in your classpath make sure xerces.jar comes first, it might work.
>
> -----Original Message-----
> From: Eric Grace [mailto:eric.grace@MessageMedia.com]
> Sent: Thursday, April 12, 2001 9:24 AM
> To: soap-user@xml.apache.org
> Subject: Testprovider Example Error
>
> I'm having a problem with the soap server when running the testprovider
> example
>
> This test assumes a server URL of
> http://localhost/soap/servlet/rpcrouter
> Deploying the testprovider service...
> Ouch, the call failed:
>   Fault Code   = SOAP-ENV:Server.Exception:
>   Fault String = org.w3c.dom.Node: method
> getNamespaceURI()Ljava/lang/String; not found
>
> CLASSPATH=[d:\JRun30\servers\lib\;d:\JRun30\servers\lib\soap.jar;d:\JRun30\s
> ervers\lib\xerces.jar;d:\JRun30\servers\lib\mail.jar;;d:\JRun30\servers\lib\
> smtp.jar;d:\JRun30\servers\lib\pop3.jar;d:\JRun30\servers\lib\imap.jar;d:\JR
> un30\servers\lib\mailapi.jar;d:\JRun30\servers\lib\activation.jar]
>
> Using
>     xerces1.2.3
>     soap2.1
>     jrun3.0
>
> -eric


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: Testprovider Example Error

Posted by Eric Grace <er...@MessageMedia.com>.
unfortunately this didn't cure the problem.
    I have the testprovider class in the classpath of jrun
    the classpath of the testit script includes xerces and soap
    I updated the DeploymentDescriptor.xml to the following....

<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
             id="urn:testprovider">
  <isd:provider type="org.apache.soap.providers.TemplateProvider"
                scope="Application"
                methods="dummyMethod">
    <isd:java class="samples.provider.testprovider"/>
    <isd:option key="classpath"
value="d:\JRun30\servers\lib\xerces.jar;d:\JRun30\servers\lib\soap.jar;d:\JRun30\servers\lib"
/>
  </isd:provider>
  <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>

</isd:service>

Then I run the testit script and all calls to the server fail at the same point

Deploying the testprovider service...
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = org.w3c.dom.Node: method getNamespaceURI()Ljava/lang/String;
not found

Verify that its there
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = org.w3c.dom.Node: method getNamespaceURI()Ljava/lang/String;
not found

Running the testprovider client
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = org.w3c.dom.Node: method getNamespaceURI()Ljava/lang/String;
not found

Undeploy it now
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = org.w3c.dom.Node: method getNamespaceURI()Ljava/lang/String;
not found

Verify that its gone
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = org.w3c.dom.Node: method getNamespaceURI()Ljava/lang/String;
not found


What could I be missing...I have not used the browser gui to deploy the service
as I am under the impression that this script is an example of scripted
deployment.  Could I be missing something for the servlet runner?  Could you
elaborate on the actual flow of what is happening here?

-eric



yogesh palavalli wrote:

> in your classpath make sure xerces.jar comes first, it might work.
>
> -----Original Message-----
> From: Eric Grace [mailto:eric.grace@MessageMedia.com]
> Sent: Thursday, April 12, 2001 9:24 AM
> To: soap-user@xml.apache.org
> Subject: Testprovider Example Error
>
> I'm having a problem with the soap server when running the testprovider
> example
>
> This test assumes a server URL of
> http://localhost/soap/servlet/rpcrouter
> Deploying the testprovider service...
> Ouch, the call failed:
>   Fault Code   = SOAP-ENV:Server.Exception:
>   Fault String = org.w3c.dom.Node: method
> getNamespaceURI()Ljava/lang/String; not found
>
> CLASSPATH=[d:\JRun30\servers\lib\;d:\JRun30\servers\lib\soap.jar;d:\JRun30\s
> ervers\lib\xerces.jar;d:\JRun30\servers\lib\mail.jar;;d:\JRun30\servers\lib\
> smtp.jar;d:\JRun30\servers\lib\pop3.jar;d:\JRun30\servers\lib\imap.jar;d:\JR
> un30\servers\lib\mailapi.jar;d:\JRun30\servers\lib\activation.jar]
>
> Using
>     xerces1.2.3
>     soap2.1
>     jrun3.0
>
> -eric


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


RE: Testprovider Example Error

Posted by yogesh palavalli <yo...@varros.com>.
in your classpath make sure xerces.jar comes first, it might work.

-----Original Message-----
From: Eric Grace [mailto:eric.grace@MessageMedia.com]
Sent: Thursday, April 12, 2001 9:24 AM
To: soap-user@xml.apache.org
Subject: Testprovider Example Error


I'm having a problem with the soap server when running the testprovider
example

This test assumes a server URL of
http://localhost/soap/servlet/rpcrouter
Deploying the testprovider service...
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = org.w3c.dom.Node: method
getNamespaceURI()Ljava/lang/String; not found


CLASSPATH=[d:\JRun30\servers\lib\;d:\JRun30\servers\lib\soap.jar;d:\JRun30\s
ervers\lib\xerces.jar;d:\JRun30\servers\lib\mail.jar;;d:\JRun30\servers\lib\
smtp.jar;d:\JRun30\servers\lib\pop3.jar;d:\JRun30\servers\lib\imap.jar;d:\JR
un30\servers\lib\mailapi.jar;d:\JRun30\servers\lib\activation.jar]

Using
    xerces1.2.3
    soap2.1
    jrun3.0



-eric


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


RE: Testprovider Example Error

Posted by Kamlesh Lal NE <ka...@changepond.com>.
hava xerces.jar at first in classpath

-----Original Message-----
From: Eric Grace [mailto:eric.grace@MessageMedia.com]
Sent: Thursday, April 12, 2001 9:24 AM
To: soap-user@xml.apache.org
Subject: Testprovider Example Error


I'm having a problem with the soap server when running the testprovider
example

This test assumes a server URL of
http://localhost/soap/servlet/rpcrouter
Deploying the testprovider service...
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = org.w3c.dom.Node: method
getNamespaceURI()Ljava/lang/String; not found


CLASSPATH=[d:\JRun30\servers\lib\;d:\JRun30\servers\lib\soap.jar;d:\JRun30\s
ervers\lib\xerces.jar;d:\JRun30\servers\lib\mail.jar;;d:\JRun30\servers\lib\
smtp.jar;d:\JRun30\servers\lib\pop3.jar;d:\JRun30\servers\lib\imap.jar;d:\JR
un30\servers\lib\mailapi.jar;d:\JRun30\servers\lib\activation.jar]

Using
    xerces1.2.3
    soap2.1
    jrun3.0



-eric


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


RE: Testprovider Example Error

Posted by Kamlesh Lal NE <ka...@changepond.com>.
hava xerces.jar at first in classpath

-----Original Message-----
From: Eric Grace [mailto:eric.grace@MessageMedia.com]
Sent: Thursday, April 12, 2001 9:24 AM
To: soap-user@xml.apache.org
Subject: Testprovider Example Error


I'm having a problem with the soap server when running the testprovider
example

This test assumes a server URL of
http://localhost/soap/servlet/rpcrouter
Deploying the testprovider service...
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = org.w3c.dom.Node: method
getNamespaceURI()Ljava/lang/String; not found


CLASSPATH=[d:\JRun30\servers\lib\;d:\JRun30\servers\lib\soap.jar;d:\JRun30\s
ervers\lib\xerces.jar;d:\JRun30\servers\lib\mail.jar;;d:\JRun30\servers\lib\
smtp.jar;d:\JRun30\servers\lib\pop3.jar;d:\JRun30\servers\lib\imap.jar;d:\JR
un30\servers\lib\mailapi.jar;d:\JRun30\servers\lib\activation.jar]

Using
    xerces1.2.3
    soap2.1
    jrun3.0



-eric


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


RE: Testprovider Example Error

Posted by yogesh palavalli <yo...@varros.com>.
in your classpath make sure xerces.jar comes first, it might work.

-----Original Message-----
From: Eric Grace [mailto:eric.grace@MessageMedia.com]
Sent: Thursday, April 12, 2001 9:24 AM
To: soap-user@xml.apache.org
Subject: Testprovider Example Error


I'm having a problem with the soap server when running the testprovider
example

This test assumes a server URL of
http://localhost/soap/servlet/rpcrouter
Deploying the testprovider service...
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = org.w3c.dom.Node: method
getNamespaceURI()Ljava/lang/String; not found


CLASSPATH=[d:\JRun30\servers\lib\;d:\JRun30\servers\lib\soap.jar;d:\JRun30\s
ervers\lib\xerces.jar;d:\JRun30\servers\lib\mail.jar;;d:\JRun30\servers\lib\
smtp.jar;d:\JRun30\servers\lib\pop3.jar;d:\JRun30\servers\lib\imap.jar;d:\JR
un30\servers\lib\mailapi.jar;d:\JRun30\servers\lib\activation.jar]

Using
    xerces1.2.3
    soap2.1
    jrun3.0



-eric


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org