You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by bu...@apache.org on 2012/02/19 04:58:07 UTC
svn commit: r805321 - in /websites/staging/openejb/trunk: ./
content/examples-trunk/simple-webservice/README.html
Author: buildbot
Date: Sun Feb 19 03:58:06 2012
New Revision: 805321
Log:
Staging update by buildbot for openejb
Modified:
websites/staging/openejb/trunk/ (props changed)
websites/staging/openejb/trunk/content/examples-trunk/simple-webservice/README.html
Propchange: websites/staging/openejb/trunk/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Feb 19 03:58:06 2012
@@ -1 +1 @@
-1290934
+1290937
Modified: websites/staging/openejb/trunk/content/examples-trunk/simple-webservice/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/simple-webservice/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/simple-webservice/README.html Sun Feb 19 03:58:06 2012
@@ -189,7 +189,95 @@ public interface CalculatorWs {
<h2>Calculator WSDL</h2>
-<p>The wsdl for our is automatically created and available at <code>http://theserver?appName/Calculator?wsdl</code> where <code>theServer</code> is the address of the server, such as <code>localhost:8080</code> and `appName</p>
+<p>The wsdl for our service is autmatically created for us and available at <code>http://127.0.0.1:4204/Calculator?wsdl</code>. In TomEE or Tomcat this would be at <code>http://127.0.0.1:8080/simple-webservice/Calculator?wsdl</code></p>
+
+<pre><code><?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="CalculatorService"
+ targetNamespace="http://superbiz.org/wsdl"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://superbiz.org/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <wsdl:types>
+ <xsd:schema attributeFormDefault="unqualified" elementFormDefault="unqualified"
+ targetNamespace="http://superbiz.org/wsdl" xmlns:tns="http://superbiz.org/wsdl"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <xsd:element name="multiply" type="tns:multiply"/>
+ <xsd:complexType name="multiply">
+ <xsd:sequence>
+ <xsd:element name="arg0" type="xsd:int"/>
+ <xsd:element name="arg1" type="xsd:int"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ <xsd:element name="multiplyResponse" type="tns:multiplyResponse"/>
+ <xsd:complexType name="multiplyResponse">
+ <xsd:sequence>
+ <xsd:element name="return" type="xsd:int"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ <xsd:element name="sum" type="tns:sum"/>
+ <xsd:complexType name="sum">
+ <xsd:sequence>
+ <xsd:element name="arg0" type="xsd:int"/>
+ <xsd:element name="arg1" type="xsd:int"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ <xsd:element name="sumResponse" type="tns:sumResponse"/>
+ <xsd:complexType name="sumResponse">
+ <xsd:sequence>
+ <xsd:element name="return" type="xsd:int"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="multiplyResponse">
+ <wsdl:part element="tns:multiplyResponse" name="parameters"/>
+ </wsdl:message>
+ <wsdl:message name="sumResponse">
+ <wsdl:part element="tns:sumResponse" name="parameters"/>
+ </wsdl:message>
+ <wsdl:message name="sum">
+ <wsdl:part element="tns:sum" name="parameters"/>
+ </wsdl:message>
+ <wsdl:message name="multiply">
+ <wsdl:part element="tns:multiply" name="parameters"/>
+ </wsdl:message>
+ <wsdl:portType name="CalculatorWs">
+ <wsdl:operation name="multiply">
+ <wsdl:input message="tns:multiply" name="multiply"/>
+ <wsdl:output message="tns:multiplyResponse" name="multiplyResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="sum">
+ <wsdl:input message="tns:sum" name="sum"/>
+ <wsdl:output message="tns:sumResponse" name="sumResponse"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="CalculatorServiceSoapBinding" type="tns:CalculatorWs">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="multiply">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="multiply">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="multiplyResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="sum">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="sum">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="sumResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="CalculatorService">
+ <wsdl:port binding="tns:CalculatorServiceSoapBinding" name="CalculatorPort">
+ <soap:address location="http://127.0.0.1:4204/Calculator?wsdl"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
+</code></pre>
<h2>Accessing the @WebService with javax.xml.ws.Service</h2>