You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by ji...@ementor.se on 2001/04/17 15:13:23 UTC

unresolved namespace ??

Hi all!

Perhaps someone can help me with this one :


>>java org.apache.soap.server.ServiceManagerClient http://localhost:8100/xml-soa
p/servlet/rpcrouter deploy DeploymentDescriptor.xml
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=A 'htt
p://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a: 'faultcode
' element.; targetException=java.lang.IllegalArgumentException: A 'http://schema
s.xmlsoap.org/soap/envelope/:Fault' element must contain a: 'faultcode' element.
]
        at org.apache.soap.rpc.Call.invoke(Call.java:244)
        at org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:127)
        at org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
nt.java:140)
        at org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:228)


I have followed the installation as far as possible, here is my environment :

- JRun 3.0

- "java settings" under "JRun default server" has the classpath:
D:/opt/projects/schenker_soap/lib/xerces.jar ( 1.3 )
D:/opt/projects/schenker_soap/lib/pop3.jar
D:/opt/projects/schenker_soap/lib/smtp.jar
D:/opt/projects/schenker_soap/lib/activation.jar
D:/opt/projects/schenker_soap/lib/bsf.jar
D:/opt/projects/schenker_soap/lib/bsfengines.jar
D:/opt/projects/schenker_soap/lib/mail.jar
D:/opt/projects/schenker_soap/lib/xmisoap.jar
D:/opt/projects/schenker_soap/lib/soap.jar
D:/opt/projects/schenker_soap/lib/xml4j.jar
D:/opt/projects/schenker_soap/java ( here's where I put the Apache-SOAP samples "addressbook" etc )
D:/opt/apps/jdk1.2.2/bin
D:/opt/apps/jdk1.2.2/jre/bin
{jrun.rootdir}/lib/ext
{jrun.rootdir}/lib/jrun.jar
{jrun.rootdir}/lib/install.jar

- JRun's global classpath is set to:
jrun.classpath=D:/opt/projects/schenker_soap/lib/xerces.jar;
{jrun.rootdir}/lib/ext;
{jrun.rootdir}/lib/jrun.jar;
{jrun.rootdir}/lib/install.jar;
D:/opt/projects/schenker_soap/java;
D:/opt/apps/jdk1.2.2/bin;
D:/opt/apps/jdk1.2.2/jre/bin

- Then I made an WAR deployment in JRun on the Apache-SOAP samples with these parameters :
 - Select WAR file or Directory = D:\opt\projects\schenker_soap\java\webapps\soap
   ( in the installation manual it says you should use the webapps directory, but that
     wont work, but if I use the .../webapps/soap directory it will, have I made
     something wrong here ? )

 - application name = SOAP

 - application url = /xml-soap

 - application deploy directory: <jrun_installation_path>\servers\default\xml-soap

Now, the rpcrouter works fine, it responds like the installation manual says.
Why can I not deploy or what is wrong? Is there a log file somewhere I don't know about or how can I more explainatory errors from SOAP?

_______________________________________________________
Jimmy Joelsson, System Developer
Ementor, F O Petersons gata 24(3:e vån), SE-421 31 GÖTEBORG
Tel +46 31 89 50 00, Fax +46 31 89 50 01, Direct +46 31 89 50 10
www.ementor.se


Pb for SOAP message with BizTalk

Posted by Johann Dumser <jd...@techmetrix.net>.
Hi,

BizTalk enables to send file from one folder and copy the output in a file
in another folder.
My question is aimed to the people who already know BizTalk. In the Editor
you have the possibility to edit a SOAP request.
The trouble that I have is to vreate the specification document, actually it
does not accpet this sign :
And I nedd it to caracterize SOAP-ENV:Envelope and xmls:ENV-SOAP

Any idea
Thanks

Johann


Re: unresolved namespace ??

Posted by Scott Nichol <sn...@computer.org>.
What is your client classpath?  I believe the error relates to the client's
XML parser.

Scott

----- Original Message -----
From: <ji...@ementor.se>
To: <so...@xml.apache.org>
Sent: Tuesday, April 17, 2001 09:13
Subject: unresolved namespace ??


Hi all!

Perhaps someone can help me with this one :


>>java org.apache.soap.server.ServiceManagerClient
http://localhost:8100/xml-soa
p/servlet/rpcrouter deploy DeploymentDescriptor.xml
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=A
'htt
p://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a:
'faultcode
' element.; targetException=java.lang.IllegalArgumentException: A
'http://schema
s.xmlsoap.org/soap/envelope/:Fault' element must contain a: 'faultcode'
element.
]
        at org.apache.soap.rpc.Call.invoke(Call.java:244)
        at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:127)
        at
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
nt.java:140)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:228)


I have followed the installation as far as possible, here is my environment
:

- JRun 3.0

- "java settings" under "JRun default server" has the classpath:
D:/opt/projects/schenker_soap/lib/xerces.jar ( 1.3 )
D:/opt/projects/schenker_soap/lib/pop3.jar
D:/opt/projects/schenker_soap/lib/smtp.jar
D:/opt/projects/schenker_soap/lib/activation.jar
D:/opt/projects/schenker_soap/lib/bsf.jar
D:/opt/projects/schenker_soap/lib/bsfengines.jar
D:/opt/projects/schenker_soap/lib/mail.jar
D:/opt/projects/schenker_soap/lib/xmisoap.jar
D:/opt/projects/schenker_soap/lib/soap.jar
D:/opt/projects/schenker_soap/lib/xml4j.jar
D:/opt/projects/schenker_soap/java ( here's where I put the Apache-SOAP
samples "addressbook" etc )
D:/opt/apps/jdk1.2.2/bin
D:/opt/apps/jdk1.2.2/jre/bin
{jrun.rootdir}/lib/ext
{jrun.rootdir}/lib/jrun.jar
{jrun.rootdir}/lib/install.jar

- JRun's global classpath is set to:
jrun.classpath=D:/opt/projects/schenker_soap/lib/xerces.jar;
{jrun.rootdir}/lib/ext;
{jrun.rootdir}/lib/jrun.jar;
{jrun.rootdir}/lib/install.jar;
D:/opt/projects/schenker_soap/java;
D:/opt/apps/jdk1.2.2/bin;
D:/opt/apps/jdk1.2.2/jre/bin

- Then I made an WAR deployment in JRun on the Apache-SOAP samples with
these parameters :
 - Select WAR file or Directory =
D:\opt\projects\schenker_soap\java\webapps\soap
   ( in the installation manual it says you should use the webapps
directory, but that
     wont work, but if I use the .../webapps/soap directory it will, have I
made
     something wrong here ? )

 - application name = SOAP

 - application url = /xml-soap

 - application deploy directory:
<jrun_installation_path>\servers\default\xml-soap

Now, the rpcrouter works fine, it responds like the installation manual
says.
Why can I not deploy or what is wrong? Is there a log file somewhere I don't
know about or how can I more explainatory errors from SOAP?

_______________________________________________________
Jimmy Joelsson, System Developer
Ementor, F O Petersons gata 24(3:e vån), SE-421 31 GÖTEBORG
Tel +46 31 89 50 00, Fax +46 31 89 50 01, Direct +46 31 89 50 10
www.ementor.se