By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,263 Members | 1,579 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,263 IT Pros & Developers. It's quick & easy.

soap errors.

P: n/a
I have setup a soap machine on linux and similar configuration works
properly. on a windows mahcine, I get these erros on the addressbook,
samples, any ideas.

I am pretty sure my classpaths are setup correctly.

using jboss-tomcat engine.

This looks like text formatting issues.

Wrong news group? maybe?

C:\Berlin\JBOSS\soap-bin-2.3.1\soap-2_3_1\samples\addressbook>testit
This test assumes a server URL of
http://localhost:8080/soap/servlet/rpcrouter
Deploying the addressbook service...
Exception in thread "main" [SOAPException:
faultCode=SOAP-ENV:Protocol; msg=Unsu
pported response content type "text/html", must be:
"text/xml&quo
t;. Response was:
]
at org.apache.soap.rpc.Call.getEnvelopeString(Call.ja va:208)
at org.apache.soap.rpc.Call.invoke(Call.java:255)
at org.apache.soap.server.ServiceManagerClient.invoke Method(ServiceManag
erClient.java:129)
at org.apache.soap.server.ServiceManagerClient.deploy (ServiceManagerClie
nt.java:142)
at org.apache.soap.server.ServiceManagerClient.main(S erviceManagerClient
..java:230)
..
Verify that it's there
Exception in thread "main" [SOAPException:
faultCode=SOAP-ENV:Protocol; msg=Unsu
pported response content type "text/html", must be:
"text/xml&quo
t;. Response was:
]
at org.apache.soap.rpc.Call.getEnvelopeString(Call.ja va:208)
at org.apache.soap.rpc.Call.invoke(Call.java:255)
at org.apache.soap.server.ServiceManagerClient.invoke Method(ServiceManag
erClient.java:129)
at org.apache.soap.server.ServiceManagerClient.list(S erviceManagerClient
..java:151)
at org.apache.soap.server.ServiceManagerClient.main(S erviceManagerClient
..java:237)
..
Getting info for "Mr Good"
Caught SOAPException (SOAP-ENV:Protocol): Unsupported response content
type &quo
t;text/html", must be: "text/xml". Response was:

..
Adding "John Doe"
Caught SOAPException (SOAP-ENV:Protocol): Unsupported response content
type &quo
t;text/html", must be: "text/xml". Response was:

..
Query "Mr Doe" to make sure it was added
Caught SOAPException (SOAP-ENV:Protocol): Unsupported response content
type &quo
t;text/html", must be: "text/xml". Response was:

..
Adding an XML file of listings
Caught SOAPException (SOAP-ENV:Protocol): Unsupported response content
type &quo
t;text/html", must be: "text/xml". Response was:

..
Get everyone!
Caught SOAPException (SOAP-ENV:Protocol): Unsupported response content
type &quo
t;text/html", must be: "text/xml". Response was:

..
Undeploy it now
Exception in thread "main" [SOAPException:
faultCode=SOAP-ENV:Protocol; msg=Unsu
pported response content type "text/html", must be:
"text/xml&quo
t;. Response was:
]
at org.apache.soap.rpc.Call.getEnvelopeString(Call.ja va:208)
at org.apache.soap.rpc.Call.invoke(Call.java:255)
at org.apache.soap.server.ServiceManagerClient.invoke Method(ServiceManag
erClient.java:129)
at org.apache.soap.server.ServiceManagerClient.undepl oy(ServiceManagerCl
ient.java:147)
at org.apache.soap.server.ServiceManagerClient.main(S erviceManagerClient
..java:235)
..
Verify that it's gone
Exception in thread "main" [SOAPException:
faultCode=SOAP-ENV:Protocol; msg=Unsu
pported response content type "text/html", must be:
"text/xml&quo
t;. Response was:
]
at org.apache.soap.rpc.Call.getEnvelopeString(Call.ja va:208)
at org.apache.soap.rpc.Call.invoke(Call.java:255)
at org.apache.soap.server.ServiceManagerClient.invoke Method(ServiceManag
erClient.java:129)
at org.apache.soap.server.ServiceManagerClient.list(S erviceManagerClient
..java:151)
at org.apache.soap.server.ServiceManagerClient.main(S erviceManagerClient
..java:237)

C:\Berlin\JBOSS\soap-bin-2.3.1\soap-2_3_1\samples\addressbook>
Jul 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.