Hello,
I have a couple of problems while deploying a service over secure HTTP
(basic auth.).
Firstly, how does a client get the WSDL, to create the stub artifacts?
On running wscompile, I always get HTTP 401 error.
I tried to implement two endpoints, one secure (for the service) and one
non-secure (for the WSDL), but am not sure how to do it. Basically I
should be able to modify the jaxrpc-ri.xml for multiple end-points. The
documentation for this is full of typos. E.g.
Taken from :
http://java.sun.com/webservices/docs/1.1/tutorial/doc/JAXRPC7.html (BTW,
this does not even exist in the latest tutorial docs... What's going on
Sun????)
============
If the service has multiple endpoints, you should specify the port and
WSDL for each endpoint. The following jaxrpc-ri.xml snippet has multiple
endpoints:
<endpoint
name="vendor"
displayName=")"
description="Vendor example endpoint"
interface="com.buzzmurph.vendor.VendorPortType"
implementation="com.buzzmurph.act.vendor.VendorPortTypeImpl"
port="
http://buzzmurph.com/preferred/Vendor.wsdl}VendorPort"
model="/WEB-INF/vendor.xml.gz"
wsdl="/WEB-INF/VendorImpl.wsdl"/>
<endpoint
name="supplier"
displayName=")"
description="Supplier example endpoint"
interface="com.buzzmurph.supplier.SupplierPortType"
implementation="com.buzzmurph.supplier.SupplierPortTypeImpl"
port="
http://buzzmurph.com/ord/Supplier.wsdl}SupplierPort"
model="/WEB-INF/supplier.xml.gz"
wsdl="/WEB-INF/SupplierImpl.wsdl"/>
<endpointMapping
endpointName="vendor"
urlPattern="/act/vendor"/>
<endpointMapping
endpointName="supplier"
urlPattern="/ord/supplier"/>
Any help will greatly appreciated!