From: Thomas D. <tdi...@us...> - 2004-05-26 22:46:53
|
User: tdiesler Date: 04/05/26 15:46:46 Modified: samples/server-web/resources/WEB-INF Organization.wsdl web.xml webservices.xml Log: + wsdl request style someService/wsdl/ does not work with absolute url-mapping + use wsdl request style someService?wsdl, wsdl imports won't work with this [todo] Revision Changes Path 1.4 +1 -1 webservice/samples/server-web/resources/WEB-INF/Organization.wsdl Index: Organization.wsdl =================================================================== RCS file: /cvsroot/jboss/webservice/samples/server-web/resources/WEB-INF/Organization.wsdl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Organization.wsdl 4 May 2004 08:43:14 -0000 1.3 +++ Organization.wsdl 26 May 2004 22:46:45 -0000 1.4 @@ -1 +1 @@ -<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://com.underworld.crimeportal/ws4ee" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://com.underworld.crimeportal/ws4ee" xmlns:intf="http://com.underworld.crimeportal/ws4ee" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <!--WSDL created by Apache Axis version: 1.2beta Built on Apr 26, 2004 (01:40:56 PDT)--> <wsdl:message name="getCallerPrincipalResponse"> <wsdl:part name="getCallerPrincipalReturn" type="xsd:string"/> </wsdl:message> <wsdl:message name="getContactInfoResponse"> <wsdl:part name="getContactInfoReturn" type="xsd:string"/> </wsdl:message> <wsdl:message name="getContactInfoRequest"> <wsdl:part name="in0" type="xsd:string"/> </wsdl:message> <wsdl:message name="getCallerPrincipalRequest"> </wsdl:message> <wsdl:portType name="OrganizationEndpoint"> <wsdl:operation name="getContactInfo" parameterOrder="in0"> <wsdl:input message="impl:getContactInfoRequest" name="getContactInfoRequest"/> <wsdl:output message="impl:getContactInfoResponse" name="getContactInfoResponse"/> </wsdl:operation> <wsdl:operation name="getCallerPrincipal"> <wsdl:input message="impl:getCallerPrincipalRequest" name="getCallerPrincipalRequest"/> <wsdl:output message="impl:getCallerPrincipalResponse" name="getCallerPrincipalResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="OrganizationServiceJSESoapBinding" type="impl:OrganizationEndpoint"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="getContactInfo"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="getContactInfoRequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://com.underworld.crimeportal/ws4ee" use="encoded"/> </wsdl:input> <wsdl:output name="getContactInfoResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://com.underworld.crimeportal/ws4ee" use="encoded"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="getCallerPrincipal"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="getCallerPrincipalRequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://com.underworld.crimeportal/ws4ee" use="encoded"/> </wsdl:input> <wsdl:output name="getCallerPrincipalResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://com.underworld.crimeportal/ws4ee" use="encoded"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="OrganizationServiceJSE"> <wsdl:port binding="impl:OrganizationServiceJSESoapBinding" name="OrganizationPort"> <wsdlsoap:address location="http://dummy-host:8000/dummy-path"/> </wsdl:port> </wsdl:service> </wsdl:definitions> \ No newline at end of file +<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://com.underworld.crimeportal/ws4ee" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://com.underworld.crimeportal/ws4ee" xmlns:intf="http://com.underworld.crimeportal/ws4ee" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <!--WSDL created by Apache Axis version: 1.2beta Built on Apr 26, 2004 (01:40:56 PDT)--> <wsdl:message name="getCallerPrincipalResponse"> <wsdl:part name="getCallerPrincipalReturn" type="xsd:string"/> </wsdl:message> <wsdl:message name="getContactInfoResponse"> <wsdl:part name="getContactInfoReturn" type="xsd:string"/> </wsdl:message> <wsdl:message name="getContactInfoRequest"> <wsdl:part name="in0" type="xsd:string"/> </wsdl:message> <wsdl:message name="getCallerPrincipalRequest"> </wsdl:message> <wsdl:portType name="OrganizationEndpoint"> <wsdl:operation name="getContactInfo" parameterOrder="in0"> <wsdl:input message="impl:getContactInfoRequest" name="getContactInfoRequest"/> <wsdl:output message="impl:getContactInfoResponse" name="getContactInfoResponse"/> </wsdl:operation> <wsdl:operation name="getCallerPrincipal"> <wsdl:input message="impl:getCallerPrincipalRequest" name="getCallerPrincipalRequest"/> <wsdl:output message="impl:getCallerPrincipalResponse" name="getCallerPrincipalResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="OrganizationServiceJSESoapBinding" type="impl:OrganizationEndpoint"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="getContactInfo"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="getContactInfoRequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://com.underworld.crimeportal/ws4ee" use="encoded"/> </wsdl:input> <wsdl:output name="getContactInfoResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://com.underworld.crimeportal/ws4ee" use="encoded"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="getCallerPrincipal"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="getCallerPrincipalRequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://com.underworld.crimeportal/ws4ee" use="encoded"/> </wsdl:input> <wsdl:output name="getCallerPrincipalResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://com.underworld.crimeportal/ws4ee" use="encoded"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="OrganizationServiceJSE"> <wsdl:port binding="impl:OrganizationServiceJSESoapBinding" name="OrganizationPort1"> <wsdlsoap:address location="http://dummy-host:8000/dummy-path"/> </wsdl:port> <wsdl:port binding="impl:OrganizationServiceJSESoapBinding" name="OrganizationPort2"> <wsdlsoap:address location="http://dummy-host:8000/dummy-path"/> </wsdl:port> </wsdl:service> </wsdl:definitions> \ No newline at end of file 1.5 +11 -3 webservice/samples/server-web/resources/WEB-INF/web.xml Index: web.xml =================================================================== RCS file: /cvsroot/jboss/webservice/samples/server-web/resources/WEB-INF/web.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- web.xml 26 May 2004 19:00:26 -0000 1.4 +++ web.xml 26 May 2004 22:46:45 -0000 1.5 @@ -6,13 +6,21 @@ version="2.4"> <servlet> - <servlet-name>OrganizationEndpoint</servlet-name> + <servlet-name>OrganizationEndpoint1</servlet-name> + <servlet-class>com.underworld.crimeportal.web.OrganizationEndpointImpl</servlet-class> + </servlet> + <servlet> + <servlet-name>OrganizationEndpoint2</servlet-name> <servlet-class>com.underworld.crimeportal.web.OrganizationEndpointImpl</servlet-class> </servlet> <servlet-mapping> - <servlet-name>OrganizationEndpoint</servlet-name> - <url-pattern>/*</url-pattern> + <servlet-name>OrganizationEndpoint1</servlet-name> + <url-pattern>/exactpath/jse</url-pattern> + </servlet-mapping> + <servlet-mapping> + <servlet-name>OrganizationEndpoint2</servlet-name> + <url-pattern>/wildpath/*</url-pattern> </servlet-mapping> </web-app> 1.4 +11 -3 webservice/samples/server-web/resources/WEB-INF/webservices.xml Index: webservices.xml =================================================================== RCS file: /cvsroot/jboss/webservice/samples/server-web/resources/WEB-INF/webservices.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- webservices.xml 30 Apr 2004 07:46:07 -0000 1.3 +++ webservices.xml 26 May 2004 22:46:45 -0000 1.4 @@ -12,11 +12,19 @@ <wsdl-file>WEB-INF/Organization.wsdl</wsdl-file> <jaxrpc-mapping-file>WEB-INF/OrganizationMapping.xml</jaxrpc-mapping-file> <port-component> - <port-component-name>Organization</port-component-name> - <wsdl-port>OrganizationPort</wsdl-port> + <port-component-name>PortComponent1</port-component-name> + <wsdl-port>OrganizationPort1</wsdl-port> <service-endpoint-interface>com.underworld.crimeportal.OrganizationEndpoint</service-endpoint-interface> <service-impl-bean> - <servlet-link>OrganizationEndpoint</servlet-link> + <servlet-link>OrganizationEndpoint1</servlet-link> + </service-impl-bean> + </port-component> + <port-component> + <port-component-name>PortComponent2</port-component-name> + <wsdl-port>OrganizationPort2</wsdl-port> + <service-endpoint-interface>com.underworld.crimeportal.OrganizationEndpoint</service-endpoint-interface> + <service-impl-bean> + <servlet-link>OrganizationEndpoint2</servlet-link> </service-impl-bean> </port-component> </webservice-description> |