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\a ddressbook>test it
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.getEn velopeString(Ca ll.java:208)
at org.apache.soap .rpc.Call.invok e(Call.java:255 )
at org.apache.soap .server.Service ManagerClient.i nvokeMethod(Ser viceManag
erClient.java:1 29)
at org.apache.soap .server.Service ManagerClient.d eploy(ServiceMa nagerClie
nt.java:142)
at org.apache.soap .server.Service ManagerClient.m ain(ServiceMana gerClient
..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.getEn velopeString(Ca ll.java:208)
at org.apache.soap .rpc.Call.invok e(Call.java:255 )
at org.apache.soap .server.Service ManagerClient.i nvokeMethod(Ser viceManag
erClient.java:1 29)
at org.apache.soap .server.Service ManagerClient.l ist(ServiceMana gerClient
..java:151)
at org.apache.soap .server.Service ManagerClient.m ain(ServiceMana gerClient
..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.getEn velopeString(Ca ll.java:208)
at org.apache.soap .rpc.Call.invok e(Call.java:255 )
at org.apache.soap .server.Service ManagerClient.i nvokeMethod(Ser viceManag
erClient.java:1 29)
at org.apache.soap .server.Service ManagerClient.u ndeploy(Service ManagerCl
ient.java:147)
at org.apache.soap .server.Service ManagerClient.m ain(ServiceMana gerClient
..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.getEn velopeString(Ca ll.java:208)
at org.apache.soap .rpc.Call.invok e(Call.java:255 )
at org.apache.soap .server.Service ManagerClient.i nvokeMethod(Ser viceManag
erClient.java:1 29)
at org.apache.soap .server.Service ManagerClient.l ist(ServiceMana gerClient
..java:151)
at org.apache.soap .server.Service ManagerClient.m ain(ServiceMana gerClient
..java:237)
C:\Berlin\JBOSS \soap-bin-2.3.1\soap-2_3_1\samples\a ddressbook>