If you have a SOAP-based endpoint (i.e., either SOAP 1.1 or 1.2 binding)
then you just can't invoke the service using your browser. The service
expects a well-formed SOAP input, while your browser only sends a simple
HTTP GET request.
If you have deployed your service using Axis2 and the standard
configuration then you should automatically have a REST endpoint
(besides the two SOAP endpoints mentioned before). Unlike the SOAP ones
you should be able to invoke this service using your browser (at least
if it is simple enough and does not require input).
/philipp
silver17 schrieb:
Hi guys,
I'm relatively newb to the world of web services and i've come accross
something else. I built a web service and put it in it's own war file, and
it works, sort of. When I use my java client to hit the endpoint (eg:
http://server/path/services/publish) it works great, but when i load my
browser with that same URL I get an error indicating there is no Endpoint
because WSA Action is null, can someone explain this to me?
Here is my wsdl.
http://services.registry.agr.gc.ca/publish/";
xmlns:tns="http://services.registry.agr.gc.ca/publish/";
xmlns:axis2="http://services.registry.agr.gc.ca/publish/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:ows="http://www.opengis.net/ows/1.1";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:csw="http://www.opengis.net/cat/csw/2.0.2";>
WSDL Description for the Registry Publishing Service.
http://www.opengis.net/cat/csw/2.0.2";
schemaLocation="csw-Publication.xsd"/>
http://www.opengis.net/ows/1.1";
schemaLocation="owsExceptionReport.xsd"/>
http://schemas.xmlsoap.org/soap/http"/>
http://localhost:8080/RegistryPublishServiceHibernate/services/RegistryPublish"/>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]