JBossWS SVN: r1526 - in branches/dlofthouse/JBWS-1260/src/test: java/org/jboss/test/ws/tools/jbws1260 resources/tools/jbws1260 resources/tools/jbws1260/scenario_J resources/tools/jbws1260/scenario_K resources/tools/jbws1260/scenario_L
by jbossws-commits@lists.jboss.org
Author: darran.lofthouse(a)jboss.com
Date: 2006-11-30 18:35:39 -0500 (Thu, 30 Nov 2006)
New Revision: 1526
Added:
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/PhoneBook_PortType.java
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/Wrapped.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/wstools-config.xml
branches/…
[View More]dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/PhoneBook_PortType.java
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/Wrapped.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/wstools-config.xml
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/PhoneBook_PortType.java
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/Wrapped.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/wstools-config.xml
Modified:
branches/dlofthouse/JBWS-1260/src/test/java/org/jboss/test/ws/tools/jbws1260/JBWS1260TestCase.java
Log:
JBWS-1260 - Added another three scenarios to the test case.
Modified: branches/dlofthouse/JBWS-1260/src/test/java/org/jboss/test/ws/tools/jbws1260/JBWS1260TestCase.java
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/java/org/jboss/test/ws/tools/jbws1260/JBWS1260TestCase.java 2006-11-29 14:18:27 UTC (rev 1525)
+++ branches/dlofthouse/JBWS-1260/src/test/java/org/jboss/test/ws/tools/jbws1260/JBWS1260TestCase.java 2006-11-30 23:35:39 UTC (rev 1526)
@@ -82,6 +82,21 @@
generateScenario('I');
}
+ public void testScenario_J() throws Exception
+ {
+ generateScenario('J');
+ }
+
+ public void testScenario_K() throws Exception
+ {
+ generateScenario('K');
+ }
+
+ public void testScenario_L() throws Exception
+ {
+ generateScenario('L');
+ }
+
protected void generateScenario(final char scenario) throws Exception
{
String resourceDir = "resources/tools/jbws1260/scenario_" + scenario;
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/PhoneBook_PortType.java
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/PhoneBook_PortType.java 2006-11-29 14:18:27 UTC (rev 1525)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/PhoneBook_PortType.java 2006-11-30 23:35:39 UTC (rev 1526)
@@ -0,0 +1,11 @@
+// This class was generated by the JAXRPC SI, do not edit.
+// Contents subject to change without notice.
+// JAX-RPC Standard Implementation (1.1.3, build R1)
+// Generated source version: 1.1.3
+
+package org.jboss.test.ws.jbws1260;
+
+public interface PhoneBook_PortType extends java.rmi.Remote {
+ public org.jboss.test.ws.jbws1260.LookupResponse lookup() throws
+ java.rmi.RemoteException;
+}
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/PhoneBook_PortType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/Wrapped.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/Wrapped.wsdl 2006-11-29 14:18:27 UTC (rev 1525)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/Wrapped.wsdl 2006-11-30 23:35:39 UTC (rev 1526)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='PhoneBook' targetNamespace='http://test.jboss.org/ws/jbws1260' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://test.jboss.org/ws/jbws1260/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://test.jboss.org/ws/jbws1260' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://test.jboss.org/ws/jbws1260/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.jboss.org/ws/jbws1260/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+
+ <element name='lookup'>
+ <complexType>
+ <sequence>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name='lookupResponse'>
+ <complexType>
+ <sequence>
+ </sequence>
+ </complexType>
+ </element>
+
+ </schema>
+ </types>
+ <message name='PhoneBook_lookup'>
+ <part element='ns1:lookup' name='parameters'/>
+ </message>
+ <message name='PhoneBook_lookupResponse'>
+ <part element='ns1:lookupResponse' name='result'/>
+ </message>
+ <portType name='PhoneBook'>
+ <operation name='lookup'>
+ <input message='tns:PhoneBook_lookup'/>
+ <output message='tns:PhoneBook_lookupResponse'/>
+ </operation>
+ </portType>
+ <binding name='PhoneBookBinding' type='tns:PhoneBook'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='lookup'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='PhoneBook'>
+ <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/Wrapped.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/wstools-config.xml 2006-11-29 14:18:27 UTC (rev 1525)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/wstools-config.xml 2006-11-30 23:35:39 UTC (rev 1526)
@@ -0,0 +1,5 @@
+<configuration>
+ <wsdl-java location="resources/tools/jbws1260/scenario_J/Wrapped.wsdl" parameter-style="wrapped">
+ <mapping file="wrapped-mapping.xml"/>
+ </wsdl-java>
+</configuration>
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_J/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/PhoneBook_PortType.java
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/PhoneBook_PortType.java 2006-11-29 14:18:27 UTC (rev 1525)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/PhoneBook_PortType.java 2006-11-30 23:35:39 UTC (rev 1526)
@@ -0,0 +1,11 @@
+// This class was generated by the JAXRPC SI, do not edit.
+// Contents subject to change without notice.
+// JAX-RPC Standard Implementation (1.1.3, build R1)
+// Generated source version: 1.1.3
+
+package org.jboss.test.ws.jbws1260;
+
+public interface PhoneBook_PortType extends java.rmi.Remote {
+ public org.jboss.test.ws.jbws1260.TelephoneNumber lookup() throws
+ java.rmi.RemoteException;
+}
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/PhoneBook_PortType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/Wrapped.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/Wrapped.wsdl 2006-11-29 14:18:27 UTC (rev 1525)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/Wrapped.wsdl 2006-11-30 23:35:39 UTC (rev 1526)
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='PhoneBook' targetNamespace='http://test.jboss.org/ws/jbws1260' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://test.jboss.org/ws/jbws1260/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://test.jboss.org/ws/jbws1260' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://test.jboss.org/ws/jbws1260/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.jboss.org/ws/jbws1260/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+
+ <complexType name='Person'>
+ <sequence>
+ </sequence>
+ </complexType>
+
+ <complexType name='TelephoneNumber'>
+ <sequence>
+ </sequence>
+ </complexType>
+
+ <element name='lookup' type='tns:Person'/>
+ <element name='lookupResponse' type='tns:TelephoneNumber'/>
+
+ </schema>
+ </types>
+ <message name='PhoneBook_lookup'>
+ <part element='ns1:lookup' name='parameters'/>
+ </message>
+ <message name='PhoneBook_lookupResponse'>
+ <part element='ns1:lookupResponse' name='result'/>
+ </message>
+ <portType name='PhoneBook'>
+ <operation name='lookup'>
+ <input message='tns:PhoneBook_lookup'/>
+ <output message='tns:PhoneBook_lookupResponse'/>
+ </operation>
+ </portType>
+ <binding name='PhoneBookBinding' type='tns:PhoneBook'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='lookup'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='PhoneBook'>
+ <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/Wrapped.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/wstools-config.xml 2006-11-29 14:18:27 UTC (rev 1525)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/wstools-config.xml 2006-11-30 23:35:39 UTC (rev 1526)
@@ -0,0 +1,5 @@
+<configuration>
+ <wsdl-java location="resources/tools/jbws1260/scenario_K/Wrapped.wsdl" parameter-style="wrapped">
+ <mapping file="wrapped-mapping.xml"/>
+ </wsdl-java>
+</configuration>
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_K/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/PhoneBook_PortType.java
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/PhoneBook_PortType.java 2006-11-29 14:18:27 UTC (rev 1525)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/PhoneBook_PortType.java 2006-11-30 23:35:39 UTC (rev 1526)
@@ -0,0 +1,11 @@
+// This class was generated by the JAXRPC SI, do not edit.
+// Contents subject to change without notice.
+// JAX-RPC Standard Implementation (1.1.3, build R1)
+// Generated source version: 1.1.3
+
+package org.jboss.test.ws.jbws1260;
+
+public interface PhoneBook_PortType extends java.rmi.Remote {
+ public org.jboss.test.ws.jbws1260.LookupResponseNumber lookup(org.jboss.test.ws.jbws1260.LookupName name) throws
+ java.rmi.RemoteException;
+}
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/PhoneBook_PortType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/Wrapped.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/Wrapped.wsdl 2006-11-29 14:18:27 UTC (rev 1525)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/Wrapped.wsdl 2006-11-30 23:35:39 UTC (rev 1526)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='PhoneBook' targetNamespace='http://test.jboss.org/ws/jbws1260' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://test.jboss.org/ws/jbws1260/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://test.jboss.org/ws/jbws1260' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://test.jboss.org/ws/jbws1260/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.jboss.org/ws/jbws1260/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+
+ <complexType name='Person'>
+ <sequence>
+ <element name='Name'>
+ <complexType>
+ <sequence>
+ </sequence>
+ </complexType>
+ </element>
+ </sequence>
+ </complexType>
+
+ <complexType name='TelephoneNumber'>
+ <sequence>
+ <element name='Number'>
+ <complexType>
+ <sequence>
+ </sequence>
+ </complexType>
+ </element>
+ </sequence>
+ </complexType>
+
+ <element name='lookup' type='tns:Person'/>
+ <element name='lookupResponse' type='tns:TelephoneNumber'/>
+
+ </schema>
+ </types>
+ <message name='PhoneBook_lookup'>
+ <part element='ns1:lookup' name='parameters'/>
+ </message>
+ <message name='PhoneBook_lookupResponse'>
+ <part element='ns1:lookupResponse' name='result'/>
+ </message>
+ <portType name='PhoneBook'>
+ <operation name='lookup'>
+ <input message='tns:PhoneBook_lookup'/>
+ <output message='tns:PhoneBook_lookupResponse'/>
+ </operation>
+ </portType>
+ <binding name='PhoneBookBinding' type='tns:PhoneBook'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='lookup'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='PhoneBook'>
+ <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/Wrapped.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/wstools-config.xml 2006-11-29 14:18:27 UTC (rev 1525)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/wstools-config.xml 2006-11-30 23:35:39 UTC (rev 1526)
@@ -0,0 +1,5 @@
+<configuration>
+ <wsdl-java location="resources/tools/jbws1260/scenario_L/Wrapped.wsdl" parameter-style="wrapped">
+ <mapping file="wrapped-mapping.xml"/>
+ </wsdl-java>
+</configuration>
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_L/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
[View Less]
18 years, 4 months
JBossWS SVN: r1525 - in branches/dlofthouse/JBWS-1260/src/test: java/org/jboss/test/ws/tools/jbws1260 resources/tools/jbws1260/scenario_A resources/tools/jbws1260/scenario_B resources/tools/jbws1260/scenario_C resources/tools/jbws1260/scenario_D resources/tools/jbws1260/scenario_E resources/tools/jbws1260/scenario_F resources/tools/jbws1260/scenario_G resources/tools/jbws1260/scenario_H resources/tools/jbws1260/scenario_I
by jbossws-commits@lists.jboss.org
Author: darran.lofthouse(a)jboss.com
Date: 2006-11-29 09:18:27 -0500 (Wed, 29 Nov 2006)
New Revision: 1525
Added:
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_A/Wrapped.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_B/Wrapped.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_C/Wrapped.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_D/Wrapped.wsdl
branches/…
[View More]dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_E/Wrapped.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_F/Wrapped.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/Wrapped.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/Wrapped.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/Wrapped.wsdl
Removed:
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_A/Anonymous.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_B/Anonymous.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_C/Anonymous.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_D/Anonymous.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_E/Anonymous.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_F/Anonymous.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/Anonymous.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/Anonymous.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/Anonymous.wsdl
Modified:
branches/dlofthouse/JBWS-1260/src/test/java/org/jboss/test/ws/tools/jbws1260/JBWS1260TestCase.java
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_A/wstools-config.xml
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_B/wstools-config.xml
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_C/wstools-config.xml
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_D/wstools-config.xml
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_E/wstools-config.xml
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_F/wstools-config.xml
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/wstools-config.xml
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/wstools-config.xml
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/wstools-config.xml
Log:
JBWS-1260 - Changed name of WSDL used for the test scenarios.
Modified: branches/dlofthouse/JBWS-1260/src/test/java/org/jboss/test/ws/tools/jbws1260/JBWS1260TestCase.java
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/java/org/jboss/test/ws/tools/jbws1260/JBWS1260TestCase.java 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/java/org/jboss/test/ws/tools/jbws1260/JBWS1260TestCase.java 2006-11-29 14:18:27 UTC (rev 1525)
@@ -28,6 +28,8 @@
import org.jboss.ws.tools.WSTools;
/**
+ * Test case to test various scenarios unwrapping parameters
+ * when using wsdl-java.
*
* @author darran.lofthouse(a)jboss.com
* @since Nov 22, 2006
Deleted: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_A/Anonymous.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_A/Anonymous.wsdl 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_A/Anonymous.wsdl 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name='PhoneBook' targetNamespace='http://test.jboss.org/ws/jbws1260' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://test.jboss.org/ws/jbws1260/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://test.jboss.org/ws/jbws1260' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types>
- <schema targetNamespace='http://test.jboss.org/ws/jbws1260/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.jboss.org/ws/jbws1260/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
-
- <element name='lookup'>
- <complexType>
- <sequence>
- <element name='surname' nillable='true' type='string'/>
- </sequence>
- </complexType>
- </element>
-
- <element name='lookupResponse'>
- <complexType>
- <sequence>
- <element name='number' nillable='true' type='string'/>
- </sequence>
- </complexType>
- </element>
-
- </schema>
- </types>
- <message name='PhoneBook_lookup'>
- <part element='ns1:lookup' name='parameters'/>
- </message>
- <message name='PhoneBook_lookupResponse'>
- <part element='ns1:lookupResponse' name='result'/>
- </message>
- <portType name='PhoneBook'>
- <operation name='lookup'>
- <input message='tns:PhoneBook_lookup'/>
- <output message='tns:PhoneBook_lookupResponse'/>
- </operation>
- </portType>
- <binding name='PhoneBookBinding' type='tns:PhoneBook'>
- <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
- <operation name='lookup'>
- <soap:operation soapAction=''/>
- <input>
- <soap:body use='literal'/>
- </input>
- <output>
- <soap:body use='literal'/>
- </output>
- </operation>
- </binding>
- <service name='PhoneBook'>
- <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
- <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
- </port>
- </service>
-</definitions>
\ No newline at end of file
Copied: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_A/Wrapped.wsdl (from rev 1506, branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_A/Anonymous.wsdl)
Modified: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_A/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_A/wstools-config.xml 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_A/wstools-config.xml 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,5 +1,5 @@
<configuration>
- <wsdl-java location="resources/tools/jbws1260/scenario_A/Anonymous.wsdl" parameter-style="wrapped">
- <mapping file="anonymous-mapping.xml"/>
+ <wsdl-java location="resources/tools/jbws1260/scenario_A/Wrapped.wsdl" parameter-style="wrapped">
+ <mapping file="wrapped-mapping.xml"/>
</wsdl-java>
</configuration>
Deleted: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_B/Anonymous.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_B/Anonymous.wsdl 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_B/Anonymous.wsdl 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name='PhoneBook' targetNamespace='http://test.jboss.org/ws/jbws1260' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://test.jboss.org/ws/jbws1260/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://test.jboss.org/ws/jbws1260' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types>
- <schema targetNamespace='http://test.jboss.org/ws/jbws1260/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.jboss.org/ws/jbws1260/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
-
- <element name='lookup'>
- <complexType>
- <sequence>
- <element name='firstName' nillable='true' type='string'/>
- <element name='surname' nillable='true' type='string'/>
- </sequence>
- </complexType>
- </element>
-
- <element name='lookupResponse'>
- <complexType>
- <sequence>
- <element name='areaCode' nillable='true' type='string'/>
- <element name='number' nillable='true' type='string'/>
- </sequence>
- </complexType>
- </element>
-
- </schema>
- </types>
- <message name='PhoneBook_lookup'>
- <part element='ns1:lookup' name='parameters'/>
- </message>
- <message name='PhoneBook_lookupResponse'>
- <part element='ns1:lookupResponse' name='result'/>
- </message>
- <portType name='PhoneBook'>
- <operation name='lookup'>
- <input message='tns:PhoneBook_lookup'/>
- <output message='tns:PhoneBook_lookupResponse'/>
- </operation>
- </portType>
- <binding name='PhoneBookBinding' type='tns:PhoneBook'>
- <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
- <operation name='lookup'>
- <soap:operation soapAction=''/>
- <input>
- <soap:body use='literal'/>
- </input>
- <output>
- <soap:body use='literal'/>
- </output>
- </operation>
- </binding>
- <service name='PhoneBook'>
- <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
- <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
- </port>
- </service>
-</definitions>
\ No newline at end of file
Copied: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_B/Wrapped.wsdl (from rev 1506, branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_B/Anonymous.wsdl)
Modified: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_B/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_B/wstools-config.xml 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_B/wstools-config.xml 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,5 +1,5 @@
<configuration>
- <wsdl-java location="resources/tools/jbws1260/scenario_B/Anonymous.wsdl" parameter-style="wrapped">
- <mapping file="anonymous-mapping.xml"/>
+ <wsdl-java location="resources/tools/jbws1260/scenario_B/Wrapped.wsdl" parameter-style="wrapped">
+ <mapping file="wrapped-mapping.xml"/>
</wsdl-java>
</configuration>
Deleted: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_C/Anonymous.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_C/Anonymous.wsdl 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_C/Anonymous.wsdl 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name='PhoneBook' targetNamespace='http://test.jboss.org/ws/jbws1260' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://test.jboss.org/ws/jbws1260/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://test.jboss.org/ws/jbws1260' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types>
- <schema targetNamespace='http://test.jboss.org/ws/jbws1260/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.jboss.org/ws/jbws1260/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
-
- <complexType name='Person'>
- <sequence>
- <element name='surname' nillable='true' type='string'/>
- </sequence>
- </complexType>
-
- <complexType name='TelephoneNumber'>
- <sequence>
- <element name='number' nillable='true' type='string'/>
- </sequence>
- </complexType>
-
- <element name='lookup' type='tns:Person'/>
- <element name='lookupResponse' type='tns:TelephoneNumber'/>
-
- </schema>
- </types>
- <message name='PhoneBook_lookup'>
- <part element='ns1:lookup' name='parameters'/>
- </message>
- <message name='PhoneBook_lookupResponse'>
- <part element='ns1:lookupResponse' name='result'/>
- </message>
- <portType name='PhoneBook'>
- <operation name='lookup'>
- <input message='tns:PhoneBook_lookup'/>
- <output message='tns:PhoneBook_lookupResponse'/>
- </operation>
- </portType>
- <binding name='PhoneBookBinding' type='tns:PhoneBook'>
- <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
- <operation name='lookup'>
- <soap:operation soapAction=''/>
- <input>
- <soap:body use='literal'/>
- </input>
- <output>
- <soap:body use='literal'/>
- </output>
- </operation>
- </binding>
- <service name='PhoneBook'>
- <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
- <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
- </port>
- </service>
-</definitions>
\ No newline at end of file
Copied: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_C/Wrapped.wsdl (from rev 1506, branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_C/Anonymous.wsdl)
Modified: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_C/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_C/wstools-config.xml 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_C/wstools-config.xml 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,5 +1,5 @@
<configuration>
- <wsdl-java location="resources/tools/jbws1260/scenario_C/Anonymous.wsdl" parameter-style="wrapped">
- <mapping file="anonymous-mapping.xml"/>
+ <wsdl-java location="resources/tools/jbws1260/scenario_C/Wrapped.wsdl" parameter-style="wrapped">
+ <mapping file="wrapped-mapping.xml"/>
</wsdl-java>
</configuration>
Deleted: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_D/Anonymous.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_D/Anonymous.wsdl 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_D/Anonymous.wsdl 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name='PhoneBook' targetNamespace='http://test.jboss.org/ws/jbws1260' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://test.jboss.org/ws/jbws1260/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://test.jboss.org/ws/jbws1260' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types>
- <schema targetNamespace='http://test.jboss.org/ws/jbws1260/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.jboss.org/ws/jbws1260/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
-
- <complexType name='Person'>
- <sequence>
- <element name='firstName' nillable='true' type='string'/>
- <element name='surname' nillable='true' type='string'/>
- </sequence>
- </complexType>
-
- <complexType name='TelephoneNumber'>
- <sequence>
- <element name='areaCode' nillable='true' type='string'/>
- <element name='number' nillable='true' type='string'/>
- </sequence>
- </complexType>
-
- <element name='lookup' type='tns:Person'/>
- <element name='lookupResponse' type='tns:TelephoneNumber'/>
-
- </schema>
- </types>
- <message name='PhoneBook_lookup'>
- <part element='ns1:lookup' name='parameters'/>
- </message>
- <message name='PhoneBook_lookupResponse'>
- <part element='ns1:lookupResponse' name='result'/>
- </message>
- <portType name='PhoneBook'>
- <operation name='lookup'>
- <input message='tns:PhoneBook_lookup'/>
- <output message='tns:PhoneBook_lookupResponse'/>
- </operation>
- </portType>
- <binding name='PhoneBookBinding' type='tns:PhoneBook'>
- <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
- <operation name='lookup'>
- <soap:operation soapAction=''/>
- <input>
- <soap:body use='literal'/>
- </input>
- <output>
- <soap:body use='literal'/>
- </output>
- </operation>
- </binding>
- <service name='PhoneBook'>
- <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
- <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
- </port>
- </service>
-</definitions>
\ No newline at end of file
Copied: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_D/Wrapped.wsdl (from rev 1506, branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_D/Anonymous.wsdl)
Modified: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_D/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_D/wstools-config.xml 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_D/wstools-config.xml 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,5 +1,5 @@
<configuration>
- <wsdl-java location="resources/tools/jbws1260/scenario_D/Anonymous.wsdl" parameter-style="wrapped">
- <mapping file="anonymous-mapping.xml"/>
+ <wsdl-java location="resources/tools/jbws1260/scenario_D/Wrapped.wsdl" parameter-style="wrapped">
+ <mapping file="wrapped-mapping.xml"/>
</wsdl-java>
</configuration>
Deleted: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_E/Anonymous.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_E/Anonymous.wsdl 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_E/Anonymous.wsdl 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name='PhoneBook' targetNamespace='http://test.jboss.org/ws/jbws1260' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://test.jboss.org/ws/jbws1260/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://test.jboss.org/ws/jbws1260' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types>
- <schema targetNamespace='http://test.jboss.org/ws/jbws1260/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.jboss.org/ws/jbws1260/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
-
- <complexType name='Person'>
- <sequence>
- <element name='Name'>
- <complexType>
- <sequence>
- <element name='surname' nillable='true' type='string'/>
- </sequence>
- </complexType>
- </element>
- </sequence>
- </complexType>
-
- <complexType name='TelephoneNumber'>
- <sequence>
- <element name='Number'>
- <complexType>
- <sequence>
- <element name='number' nillable='true' type='string'/>
- </sequence>
- </complexType>
- </element>
- </sequence>
- </complexType>
-
- <element name='lookup' type='tns:Person'/>
- <element name='lookupResponse' type='tns:TelephoneNumber'/>
-
- </schema>
- </types>
- <message name='PhoneBook_lookup'>
- <part element='ns1:lookup' name='parameters'/>
- </message>
- <message name='PhoneBook_lookupResponse'>
- <part element='ns1:lookupResponse' name='result'/>
- </message>
- <portType name='PhoneBook'>
- <operation name='lookup'>
- <input message='tns:PhoneBook_lookup'/>
- <output message='tns:PhoneBook_lookupResponse'/>
- </operation>
- </portType>
- <binding name='PhoneBookBinding' type='tns:PhoneBook'>
- <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
- <operation name='lookup'>
- <soap:operation soapAction=''/>
- <input>
- <soap:body use='literal'/>
- </input>
- <output>
- <soap:body use='literal'/>
- </output>
- </operation>
- </binding>
- <service name='PhoneBook'>
- <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
- <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
- </port>
- </service>
-</definitions>
\ No newline at end of file
Copied: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_E/Wrapped.wsdl (from rev 1506, branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_E/Anonymous.wsdl)
Modified: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_E/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_E/wstools-config.xml 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_E/wstools-config.xml 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,5 +1,5 @@
<configuration>
- <wsdl-java location="resources/tools/jbws1260/scenario_E/Anonymous.wsdl" parameter-style="wrapped">
- <mapping file="anonymous-mapping.xml"/>
+ <wsdl-java location="resources/tools/jbws1260/scenario_E/Wrapped.wsdl" parameter-style="wrapped">
+ <mapping file="wrapped-mapping.xml"/>
</wsdl-java>
</configuration>
Deleted: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_F/Anonymous.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_F/Anonymous.wsdl 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_F/Anonymous.wsdl 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name='PhoneBook' targetNamespace='http://test.jboss.org/ws/jbws1260' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://test.jboss.org/ws/jbws1260/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://test.jboss.org/ws/jbws1260' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types>
- <schema targetNamespace='http://test.jboss.org/ws/jbws1260/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.jboss.org/ws/jbws1260/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
-
- <complexType name='Person'>
- <sequence>
- <element name='Name'>
- <complexType>
- <sequence>
- <element name='firstName' nillable='true' type='string'/>
- <element name='surname' nillable='true' type='string'/>
- </sequence>
- </complexType>
- </element>
- </sequence>
- </complexType>
-
- <complexType name='TelephoneNumber'>
- <sequence>
- <element name='Number'>
- <complexType>
- <sequence>
- <element name='areaCode' nillable='true' type='string'/>
- <element name='number' nillable='true' type='string'/>
- </sequence>
- </complexType>
- </element>
- </sequence>
- </complexType>
-
- <element name='lookup' type='tns:Person'/>
- <element name='lookupResponse' type='tns:TelephoneNumber'/>
-
- </schema>
- </types>
- <message name='PhoneBook_lookup'>
- <part element='ns1:lookup' name='parameters'/>
- </message>
- <message name='PhoneBook_lookupResponse'>
- <part element='ns1:lookupResponse' name='result'/>
- </message>
- <portType name='PhoneBook'>
- <operation name='lookup'>
- <input message='tns:PhoneBook_lookup'/>
- <output message='tns:PhoneBook_lookupResponse'/>
- </operation>
- </portType>
- <binding name='PhoneBookBinding' type='tns:PhoneBook'>
- <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
- <operation name='lookup'>
- <soap:operation soapAction=''/>
- <input>
- <soap:body use='literal'/>
- </input>
- <output>
- <soap:body use='literal'/>
- </output>
- </operation>
- </binding>
- <service name='PhoneBook'>
- <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
- <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
- </port>
- </service>
-</definitions>
\ No newline at end of file
Copied: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_F/Wrapped.wsdl (from rev 1506, branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_F/Anonymous.wsdl)
Modified: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_F/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_F/wstools-config.xml 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_F/wstools-config.xml 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,5 +1,5 @@
<configuration>
- <wsdl-java location="resources/tools/jbws1260/scenario_F/Anonymous.wsdl" parameter-style="wrapped">
- <mapping file="anonymous-mapping.xml"/>
+ <wsdl-java location="resources/tools/jbws1260/scenario_F/Wrapped.wsdl" parameter-style="wrapped">
+ <mapping file="wrapped-mapping.xml"/>
</wsdl-java>
</configuration>
Deleted: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/Anonymous.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/Anonymous.wsdl 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/Anonymous.wsdl 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name='PhoneBook' targetNamespace='http://test.jboss.org/ws/jbws1260' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://test.jboss.org/ws/jbws1260/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://test.jboss.org/ws/jbws1260' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types>
- <schema targetNamespace='http://test.jboss.org/ws/jbws1260/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.jboss.org/ws/jbws1260/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
-
- <element name='lookup'>
- <complexType>
- <sequence>
- <element name='surname' nillable='true' type='string' maxOccurs='unbounded'/>
- </sequence>
- </complexType>
- </element>
-
- <element name='lookupResponse'>
- <complexType>
- <sequence>
- <element name='number' nillable='true' type='string' maxOccurs='unbounded'/>
- </sequence>
- </complexType>
- </element>
-
- </schema>
- </types>
- <message name='PhoneBook_lookup'>
- <part element='ns1:lookup' name='parameters'/>
- </message>
- <message name='PhoneBook_lookupResponse'>
- <part element='ns1:lookupResponse' name='result'/>
- </message>
- <portType name='PhoneBook'>
- <operation name='lookup'>
- <input message='tns:PhoneBook_lookup'/>
- <output message='tns:PhoneBook_lookupResponse'/>
- </operation>
- </portType>
- <binding name='PhoneBookBinding' type='tns:PhoneBook'>
- <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
- <operation name='lookup'>
- <soap:operation soapAction=''/>
- <input>
- <soap:body use='literal'/>
- </input>
- <output>
- <soap:body use='literal'/>
- </output>
- </operation>
- </binding>
- <service name='PhoneBook'>
- <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
- <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
- </port>
- </service>
-</definitions>
\ No newline at end of file
Copied: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/Wrapped.wsdl (from rev 1524, branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/Anonymous.wsdl)
Modified: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/wstools-config.xml 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/wstools-config.xml 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,5 +1,5 @@
<configuration>
- <wsdl-java location="resources/tools/jbws1260/scenario_G/Anonymous.wsdl" parameter-style="wrapped">
- <mapping file="anonymous-mapping.xml"/>
+ <wsdl-java location="resources/tools/jbws1260/scenario_G/Wrapped.wsdl" parameter-style="wrapped">
+ <mapping file="wrapped-mapping.xml"/>
</wsdl-java>
</configuration>
Deleted: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/Anonymous.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/Anonymous.wsdl 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/Anonymous.wsdl 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name='PhoneBook' targetNamespace='http://test.jboss.org/ws/jbws1260' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://test.jboss.org/ws/jbws1260/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://test.jboss.org/ws/jbws1260' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types>
- <schema targetNamespace='http://test.jboss.org/ws/jbws1260/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.jboss.org/ws/jbws1260/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
-
- <complexType name='Person'>
- <sequence>
- <element name='surname' nillable='true' type='string' maxOccurs='unbounded'/>
- </sequence>
- </complexType>
-
- <complexType name='TelephoneNumber'>
- <sequence>
- <element name='number' nillable='true' type='string' maxOccurs='unbounded'/>
- </sequence>
- </complexType>
-
- <element name='lookup' type='tns:Person'/>
- <element name='lookupResponse' type='tns:TelephoneNumber'/>
-
- </schema>
- </types>
- <message name='PhoneBook_lookup'>
- <part element='ns1:lookup' name='parameters'/>
- </message>
- <message name='PhoneBook_lookupResponse'>
- <part element='ns1:lookupResponse' name='result'/>
- </message>
- <portType name='PhoneBook'>
- <operation name='lookup'>
- <input message='tns:PhoneBook_lookup'/>
- <output message='tns:PhoneBook_lookupResponse'/>
- </operation>
- </portType>
- <binding name='PhoneBookBinding' type='tns:PhoneBook'>
- <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
- <operation name='lookup'>
- <soap:operation soapAction=''/>
- <input>
- <soap:body use='literal'/>
- </input>
- <output>
- <soap:body use='literal'/>
- </output>
- </operation>
- </binding>
- <service name='PhoneBook'>
- <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
- <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
- </port>
- </service>
-</definitions>
\ No newline at end of file
Copied: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/Wrapped.wsdl (from rev 1524, branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/Anonymous.wsdl)
Modified: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/wstools-config.xml 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/wstools-config.xml 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,5 +1,5 @@
<configuration>
- <wsdl-java location="resources/tools/jbws1260/scenario_H/Anonymous.wsdl" parameter-style="wrapped">
- <mapping file="anonymous-mapping.xml"/>
+ <wsdl-java location="resources/tools/jbws1260/scenario_H/Wrapped.wsdl" parameter-style="wrapped">
+ <mapping file="wrapped-mapping.xml"/>
</wsdl-java>
</configuration>
Deleted: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/Anonymous.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/Anonymous.wsdl 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/Anonymous.wsdl 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name='PhoneBook' targetNamespace='http://test.jboss.org/ws/jbws1260' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://test.jboss.org/ws/jbws1260/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://test.jboss.org/ws/jbws1260' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types>
- <schema targetNamespace='http://test.jboss.org/ws/jbws1260/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.jboss.org/ws/jbws1260/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
-
- <complexType name='Person'>
- <sequence>
- <element name='Name'>
- <complexType>
- <sequence>
- <element name='surname' nillable='true' type='string' maxOccurs='unbounded'/>
- </sequence>
- </complexType>
- </element>
- </sequence>
- </complexType>
-
- <complexType name='TelephoneNumber'>
- <sequence>
- <element name='Number'>
- <complexType>
- <sequence>
- <element name='number' nillable='true' type='string' maxOccurs='unbounded'/>
- </sequence>
- </complexType>
- </element>
- </sequence>
- </complexType>
-
- <element name='lookup' type='tns:Person'/>
- <element name='lookupResponse' type='tns:TelephoneNumber'/>
-
- </schema>
- </types>
- <message name='PhoneBook_lookup'>
- <part element='ns1:lookup' name='parameters'/>
- </message>
- <message name='PhoneBook_lookupResponse'>
- <part element='ns1:lookupResponse' name='result'/>
- </message>
- <portType name='PhoneBook'>
- <operation name='lookup'>
- <input message='tns:PhoneBook_lookup'/>
- <output message='tns:PhoneBook_lookupResponse'/>
- </operation>
- </portType>
- <binding name='PhoneBookBinding' type='tns:PhoneBook'>
- <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
- <operation name='lookup'>
- <soap:operation soapAction=''/>
- <input>
- <soap:body use='literal'/>
- </input>
- <output>
- <soap:body use='literal'/>
- </output>
- </operation>
- </binding>
- <service name='PhoneBook'>
- <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
- <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
- </port>
- </service>
-</definitions>
\ No newline at end of file
Copied: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/Wrapped.wsdl (from rev 1524, branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/Anonymous.wsdl)
Modified: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/wstools-config.xml 2006-11-29 14:10:41 UTC (rev 1524)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/wstools-config.xml 2006-11-29 14:18:27 UTC (rev 1525)
@@ -1,5 +1,5 @@
<configuration>
- <wsdl-java location="resources/tools/jbws1260/scenario_I/Anonymous.wsdl" parameter-style="wrapped">
- <mapping file="anonymous-mapping.xml"/>
+ <wsdl-java location="resources/tools/jbws1260/scenario_I/Wrapped.wsdl" parameter-style="wrapped">
+ <mapping file="wrapped-mapping.xml"/>
</wsdl-java>
</configuration>
[View Less]
18 years, 4 months
JBossWS SVN: r1524 - in branches/dlofthouse/JBWS-1260/src/test: java/org/jboss/test/ws/tools/jbws1260 resources/tools/jbws1260 resources/tools/jbws1260/scenario_G resources/tools/jbws1260/scenario_H resources/tools/jbws1260/scenario_I
by jbossws-commits@lists.jboss.org
Author: darran.lofthouse(a)jboss.com
Date: 2006-11-29 09:10:41 -0500 (Wed, 29 Nov 2006)
New Revision: 1524
Added:
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/Anonymous.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/PhoneBook_PortType.java
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/wstools-config.xml
branches/…
[View More]dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/Anonymous.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/PhoneBook_PortType.java
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/wstools-config.xml
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/Anonymous.wsdl
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/PhoneBook_PortType.java
branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/wstools-config.xml
Modified:
branches/dlofthouse/JBWS-1260/src/test/java/org/jboss/test/ws/tools/jbws1260/JBWS1260TestCase.java
Log:
JBWS-1260 - Added scenarios for arrays.
Modified: branches/dlofthouse/JBWS-1260/src/test/java/org/jboss/test/ws/tools/jbws1260/JBWS1260TestCase.java
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/java/org/jboss/test/ws/tools/jbws1260/JBWS1260TestCase.java 2006-11-27 17:23:06 UTC (rev 1523)
+++ branches/dlofthouse/JBWS-1260/src/test/java/org/jboss/test/ws/tools/jbws1260/JBWS1260TestCase.java 2006-11-29 14:10:41 UTC (rev 1524)
@@ -65,6 +65,21 @@
generateScenario('F');
}
+ public void testScenario_G() throws Exception
+ {
+ generateScenario('G');
+ }
+
+ public void testScenario_H() throws Exception
+ {
+ generateScenario('H');
+ }
+
+ public void testScenario_I() throws Exception
+ {
+ generateScenario('I');
+ }
+
protected void generateScenario(final char scenario) throws Exception
{
String resourceDir = "resources/tools/jbws1260/scenario_" + scenario;
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/Anonymous.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/Anonymous.wsdl 2006-11-27 17:23:06 UTC (rev 1523)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/Anonymous.wsdl 2006-11-29 14:10:41 UTC (rev 1524)
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='PhoneBook' targetNamespace='http://test.jboss.org/ws/jbws1260' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://test.jboss.org/ws/jbws1260/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://test.jboss.org/ws/jbws1260' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://test.jboss.org/ws/jbws1260/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.jboss.org/ws/jbws1260/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+
+ <element name='lookup'>
+ <complexType>
+ <sequence>
+ <element name='surname' nillable='true' type='string' maxOccurs='unbounded'/>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name='lookupResponse'>
+ <complexType>
+ <sequence>
+ <element name='number' nillable='true' type='string' maxOccurs='unbounded'/>
+ </sequence>
+ </complexType>
+ </element>
+
+ </schema>
+ </types>
+ <message name='PhoneBook_lookup'>
+ <part element='ns1:lookup' name='parameters'/>
+ </message>
+ <message name='PhoneBook_lookupResponse'>
+ <part element='ns1:lookupResponse' name='result'/>
+ </message>
+ <portType name='PhoneBook'>
+ <operation name='lookup'>
+ <input message='tns:PhoneBook_lookup'/>
+ <output message='tns:PhoneBook_lookupResponse'/>
+ </operation>
+ </portType>
+ <binding name='PhoneBookBinding' type='tns:PhoneBook'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='lookup'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='PhoneBook'>
+ <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/Anonymous.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/PhoneBook_PortType.java
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/PhoneBook_PortType.java 2006-11-27 17:23:06 UTC (rev 1523)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/PhoneBook_PortType.java 2006-11-29 14:10:41 UTC (rev 1524)
@@ -0,0 +1,11 @@
+// This class was generated by the JAXRPC SI, do not edit.
+// Contents subject to change without notice.
+// JAX-RPC Standard Implementation (1.1.3, build R1)
+// Generated source version: 1.1.3
+
+package org.jboss.test.ws.jbws1260;
+
+public interface PhoneBook_PortType extends java.rmi.Remote {
+ public java.lang.String[] lookup(java.lang.String[] surname) throws
+ java.rmi.RemoteException;
+}
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/PhoneBook_PortType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/wstools-config.xml 2006-11-27 17:23:06 UTC (rev 1523)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/wstools-config.xml 2006-11-29 14:10:41 UTC (rev 1524)
@@ -0,0 +1,5 @@
+<configuration>
+ <wsdl-java location="resources/tools/jbws1260/scenario_G/Anonymous.wsdl" parameter-style="wrapped">
+ <mapping file="anonymous-mapping.xml"/>
+ </wsdl-java>
+</configuration>
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_G/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/Anonymous.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/Anonymous.wsdl 2006-11-27 17:23:06 UTC (rev 1523)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/Anonymous.wsdl 2006-11-29 14:10:41 UTC (rev 1524)
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='PhoneBook' targetNamespace='http://test.jboss.org/ws/jbws1260' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://test.jboss.org/ws/jbws1260/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://test.jboss.org/ws/jbws1260' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://test.jboss.org/ws/jbws1260/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.jboss.org/ws/jbws1260/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+
+ <complexType name='Person'>
+ <sequence>
+ <element name='surname' nillable='true' type='string' maxOccurs='unbounded'/>
+ </sequence>
+ </complexType>
+
+ <complexType name='TelephoneNumber'>
+ <sequence>
+ <element name='number' nillable='true' type='string' maxOccurs='unbounded'/>
+ </sequence>
+ </complexType>
+
+ <element name='lookup' type='tns:Person'/>
+ <element name='lookupResponse' type='tns:TelephoneNumber'/>
+
+ </schema>
+ </types>
+ <message name='PhoneBook_lookup'>
+ <part element='ns1:lookup' name='parameters'/>
+ </message>
+ <message name='PhoneBook_lookupResponse'>
+ <part element='ns1:lookupResponse' name='result'/>
+ </message>
+ <portType name='PhoneBook'>
+ <operation name='lookup'>
+ <input message='tns:PhoneBook_lookup'/>
+ <output message='tns:PhoneBook_lookupResponse'/>
+ </operation>
+ </portType>
+ <binding name='PhoneBookBinding' type='tns:PhoneBook'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='lookup'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='PhoneBook'>
+ <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/Anonymous.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/PhoneBook_PortType.java
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/PhoneBook_PortType.java 2006-11-27 17:23:06 UTC (rev 1523)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/PhoneBook_PortType.java 2006-11-29 14:10:41 UTC (rev 1524)
@@ -0,0 +1,11 @@
+// This class was generated by the JAXRPC SI, do not edit.
+// Contents subject to change without notice.
+// JAX-RPC Standard Implementation (1.1.3, build R1)
+// Generated source version: 1.1.3
+
+package org.jboss.test.ws.jbws1260;
+
+public interface PhoneBook_PortType extends java.rmi.Remote {
+ public java.lang.String[] lookup(java.lang.String[] surname) throws
+ java.rmi.RemoteException;
+}
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/PhoneBook_PortType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/wstools-config.xml 2006-11-27 17:23:06 UTC (rev 1523)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/wstools-config.xml 2006-11-29 14:10:41 UTC (rev 1524)
@@ -0,0 +1,5 @@
+<configuration>
+ <wsdl-java location="resources/tools/jbws1260/scenario_H/Anonymous.wsdl" parameter-style="wrapped">
+ <mapping file="anonymous-mapping.xml"/>
+ </wsdl-java>
+</configuration>
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_H/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/Anonymous.wsdl
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/Anonymous.wsdl 2006-11-27 17:23:06 UTC (rev 1523)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/Anonymous.wsdl 2006-11-29 14:10:41 UTC (rev 1524)
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='PhoneBook' targetNamespace='http://test.jboss.org/ws/jbws1260' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://test.jboss.org/ws/jbws1260/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://test.jboss.org/ws/jbws1260' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://test.jboss.org/ws/jbws1260/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://test.jboss.org/ws/jbws1260/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+
+ <complexType name='Person'>
+ <sequence>
+ <element name='Name'>
+ <complexType>
+ <sequence>
+ <element name='surname' nillable='true' type='string' maxOccurs='unbounded'/>
+ </sequence>
+ </complexType>
+ </element>
+ </sequence>
+ </complexType>
+
+ <complexType name='TelephoneNumber'>
+ <sequence>
+ <element name='Number'>
+ <complexType>
+ <sequence>
+ <element name='number' nillable='true' type='string' maxOccurs='unbounded'/>
+ </sequence>
+ </complexType>
+ </element>
+ </sequence>
+ </complexType>
+
+ <element name='lookup' type='tns:Person'/>
+ <element name='lookupResponse' type='tns:TelephoneNumber'/>
+
+ </schema>
+ </types>
+ <message name='PhoneBook_lookup'>
+ <part element='ns1:lookup' name='parameters'/>
+ </message>
+ <message name='PhoneBook_lookupResponse'>
+ <part element='ns1:lookupResponse' name='result'/>
+ </message>
+ <portType name='PhoneBook'>
+ <operation name='lookup'>
+ <input message='tns:PhoneBook_lookup'/>
+ <output message='tns:PhoneBook_lookupResponse'/>
+ </operation>
+ </portType>
+ <binding name='PhoneBookBinding' type='tns:PhoneBook'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='lookup'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='PhoneBook'>
+ <port binding='tns:PhoneBookBinding' name='PhoneBookPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/Anonymous.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/PhoneBook_PortType.java
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/PhoneBook_PortType.java 2006-11-27 17:23:06 UTC (rev 1523)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/PhoneBook_PortType.java 2006-11-29 14:10:41 UTC (rev 1524)
@@ -0,0 +1,11 @@
+// This class was generated by the JAXRPC SI, do not edit.
+// Contents subject to change without notice.
+// JAX-RPC Standard Implementation (1.1.3, build R1)
+// Generated source version: 1.1.3
+
+package org.jboss.test.ws.jbws1260;
+
+public interface PhoneBook_PortType extends java.rmi.Remote {
+ public org.jboss.test.ws.jbws1260.LookupResponseNumber lookup(org.jboss.test.ws.jbws1260.LookupName name) throws
+ java.rmi.RemoteException;
+}
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/PhoneBook_PortType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/wstools-config.xml
===================================================================
--- branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/wstools-config.xml 2006-11-27 17:23:06 UTC (rev 1523)
+++ branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/wstools-config.xml 2006-11-29 14:10:41 UTC (rev 1524)
@@ -0,0 +1,5 @@
+<configuration>
+ <wsdl-java location="resources/tools/jbws1260/scenario_I/Anonymous.wsdl" parameter-style="wrapped">
+ <mapping file="anonymous-mapping.xml"/>
+ </wsdl-java>
+</configuration>
Property changes on: branches/dlofthouse/JBWS-1260/src/test/resources/tools/jbws1260/scenario_I/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
[View Less]
18 years, 4 months
JBossWS SVN: r1523 - trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981
by jbossws-commits@lists.jboss.org
Author: jason.greene(a)jboss.com
Date: 2006-11-27 12:23:06 -0500 (Mon, 27 Nov 2006)
New Revision: 1523
Modified:
trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.java
Log:
Disable JBWS981TestCase, which is missing resources
Modified: trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.java 2006-11-23 12:24:58 UTC …
[View More](rev 1522)
+++ trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.java 2006-11-27 17:23:06 UTC (rev 1523)
@@ -33,9 +33,9 @@
/**
* [JBWS-981] Virtual host configuration for EJB endpoints
- *
+ *
* http://jira.jboss.org/jira/browse/JBWS-981
- *
+ *
* @author darran.lofthouse(a)jboss.com
* @since Nov 2, 2006
*/
@@ -52,9 +52,10 @@
protected void setUp() throws Exception
{
super.setUp();
+ if (true) return;
if (port == null)
{
- URL wsdlURL = new URL("http://localhost.localdomain:8080/jaxws-jbws981/EJB3Bean?wsdl");
+ URL wsdlURL = new URL("http://" + getServerHost() + ":8080jaxws-jbws981/EJB3Bean?wsdl");
QName serviceName = new QName("http://www.jboss.org/test/ws/jaxws/jbws981", "TestService");
Service.create(wsdlURL, serviceName);
Service service = Service.create(wsdlURL, serviceName);
@@ -66,9 +67,8 @@
{
System.out.println("FIXME: [JBWS-981] Virtual host configuration for EJB endpoints");
if (true) return;
-
+
String message = "hello";
assertEquals(message, port.hello(message));
}
-
-}
+}
\ No newline at end of file
[View Less]
18 years, 4 months
JBossWS SVN: r1522 - trunk
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2006-11-23 07:24:58 -0500 (Thu, 23 Nov 2006)
New Revision: 1522
Added:
trunk/STATUS_AND_NEWS.txt
Log:
Add STATUS_AND_NEWS
Added: trunk/STATUS_AND_NEWS.txt
===================================================================
--- trunk/STATUS_AND_NEWS.txt 2006-11-23 12:12:01 UTC (rev 1521)
+++ trunk/STATUS_AND_NEWS.txt 2006-11-23 12:24:58 UTC (rev 1522)
@@ -0,0 +1,27 @@
+# $Id$
+
+23-Nov-2006
+-----------
+
+* You should expect to see no test failures …
[View More]against jbossas -r 58663
+* ant tests | grep FIXME | sort -u
+ [junit] FIXME: [JBAS-3824] Fix ENC for EJB2.1 and Servlets
+ [junit] FIXME: [JBAS-3825] Fix BASIC authentication
+ [junit] FIXME: [JBWEB-68] Servlet.init(ServletConfig) not called
+ [junit] FIXME: [JBWS-1291] Fix JaxrpcMappingValidator
+ [junit] FIXME: [JBWS-1294] Add support for mapping async methods
+ [junit] FIXME: [JBWS-1297] Implement JAXB Fault Marshalling
+ [junit] FIXME: [JBWS-1312] Fix JMS transport in trunk
+ [junit] FIXME: [JBWS-1313] Fix XOP tests in trunk
+ [junit] FIXME: [JBWS-1328] Client security configuration not loaded when client deployed with issolated classloader
+ [junit] FIXME: [JBWS-1329] Fix StorePassEncryptTestCase for jbossas-5.0
+ [junit] FIXME: [JBWS-1330] Fix jaxrpc wsse tests for jbossws-5.0
+ [junit] FIXME: [JBWS-1394] Fix OneWayJava2WSDLTestCase in trunk
+ [junit] FIXME: [JBWS-1397] Fix <wsdl-publish-location> for jboss-5.0.x
+ [junit] FIXME: [JBWS-269] Support attachments in Web Services Tools
+ [junit] FIXME: [JBWS-434] Support sequences of anys
+ [junit] FIXME: [JBWS-798] Complete EventingTestCase
+ [junit] FIXME: [JBWS-868] BPEL in jbossws-samples
+ [junit] FIXME: [JBWS-940] Add wsdl-java support for jdk 1.4 typesafe enums
+ [junit] FIXME: [JBWS-981] Virtual host configuration for EJB endpoints
+
Property changes on: trunk/STATUS_AND_NEWS.txt
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
[View Less]
18 years, 4 months
JBossWS SVN: r1521 - in trunk/src: main/java/org/jboss/ws/metadata/builder main/java/org/jboss/ws/metadata/builder/jaxrpc main/java/org/jboss/ws/metadata/builder/jaxws test test/ant test/java/org/jboss/test/ws/jaxrpc/jbws1093 test/java/org/jboss/test/ws/jaxrpc/jbws1190 test/java/org/jboss/test/ws/jaxws/jbws1190 test/java/org/jboss/test/ws/jaxws/jbws981 test/resources/jaxws
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2006-11-23 07:12:01 -0500 (Thu, 23 Nov 2006)
New Revision: 1521
Removed:
trunk/src/test/resources/jaxws/jbws981/
Modified:
trunk/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java
trunk/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCServerMetaDataBuilder.java
trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSEndpointMetaDataBuilder.java
trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/…
[View More]JAXWSWebServiceMetaDataBuilder.java
trunk/src/test/ant/build-jars-jaxws.xml
trunk/src/test/build.xml
trunk/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/JBWS1093TestCase.java
trunk/src/test/java/org/jboss/test/ws/jaxrpc/jbws1190/JBWS1190TestCase.java
trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/ConfidentialEndpoint.java
trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/JBWS1190TestCase.java
trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/TestEndpoint.java
trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/TestEndpointImpl.java
trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/EJB3Bean.java
trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/EndpointInterface.java
trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.java
Log:
Add FIXME [JBWS-981] Virtual host configuration for EJB endpoints
Done [JBWS-1190] WSDL generated for JSR-181 POJO does not take 'transport-guarantee' in web.xml into account
Modified: trunk/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java
===================================================================
--- trunk/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java 2006-11-23 10:43:37 UTC (rev 1520)
+++ trunk/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java 2006-11-23 12:12:01 UTC (rev 1521)
@@ -56,6 +56,8 @@
import org.jboss.ws.metadata.j2ee.UnifiedEjbPortComponentMetaData;
import org.jboss.ws.metadata.j2ee.UnifiedMessageDrivenMetaData;
import org.jboss.ws.metadata.j2ee.UnifiedWebMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData.UnifiedWebResourceCollection;
import org.jboss.ws.metadata.wsdl.NCName;
import org.jboss.ws.metadata.wsdl.WSDLBinding;
import org.jboss.ws.metadata.wsdl.WSDLBindingOperation;
@@ -292,6 +294,42 @@
}
}
+ /**
+ * Read the transport guarantee from web.xml
+ */
+ protected void initTransportGuaranteeJSE(UnifiedDeploymentInfo udi, ServerEndpointMetaData sepMetaData, String servletLink) throws IOException
+ {
+ String transportGuarantee = null;
+ if (udi.metaData instanceof UnifiedWebMetaData)
+ {
+ UnifiedWebMetaData webMetaData = (UnifiedWebMetaData)udi.metaData;
+ Map<String, String> servletMappings = webMetaData.getServletMappings();
+ String urlPattern = servletMappings.get(servletLink);
+
+ if (urlPattern == null)
+ throw new WSException("Cannot find <url-pattern> for servlet-name: " + servletLink);
+
+ List<UnifiedWebSecurityMetaData> securityList = webMetaData.getSecurityMetaData();
+ for (UnifiedWebSecurityMetaData currentSecurity : securityList)
+ {
+ if (currentSecurity.getTransportGuarantee() != null && currentSecurity.getTransportGuarantee().length() > 0)
+ {
+ for (UnifiedWebResourceCollection currentCollection : currentSecurity.getWebResources())
+ {
+ for (String currentUrlPattern : currentCollection.getUrlPatterns())
+ {
+ if (urlPattern.equals(currentUrlPattern))
+ {
+ transportGuarantee = currentSecurity.getTransportGuarantee();
+ }
+ }
+ }
+ }
+ }
+ }
+ sepMetaData.setTransportGuarantee(transportGuarantee);
+ }
+
/** Replace the address locations for a given port component.
*/
public static void replaceAddressLocation(ServerEndpointMetaData sepMetaData)
Modified: trunk/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCServerMetaDataBuilder.java
===================================================================
--- trunk/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCServerMetaDataBuilder.java 2006-11-23 10:43:37 UTC (rev 1520)
+++ trunk/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCServerMetaDataBuilder.java 2006-11-23 12:12:01 UTC (rev 1521)
@@ -267,45 +267,4 @@
}
return wsdlEndpoint;
}
-
- /**
- * Read the transport guarantee from web.xml
- */
- protected void initTransportGuaranteeJSE(UnifiedDeploymentInfo udi, ServerEndpointMetaData sepMetaData, String servletLink) throws IOException
- {
- UnifiedWebMetaData webMetaData = (UnifiedWebMetaData)udi.metaData;
- sepMetaData.setTransportGuarantee(getTransportGuarantee(webMetaData, servletLink));
- }
-
-
- protected String getTransportGuarantee(final UnifiedWebMetaData webMetaData, final String servletLink)
- {
- String transportGuarantee = "";
-
- Map<String, String> servletMappings = webMetaData.getServletMappings();
- String urlPattern = servletMappings.get(servletLink);
-
- if (urlPattern == null)
- throw new WSException("Cannot find <url-pattern> for servlet-name: " + servletLink);
-
- List<UnifiedWebSecurityMetaData> securityList = webMetaData.getSecurityMetaData();
- for (UnifiedWebSecurityMetaData currentSecurity : securityList)
- {
- if (currentSecurity.getTransportGuarantee() != null && currentSecurity.getTransportGuarantee().length() > 0)
- {
- for (UnifiedWebResourceCollection currentCollection : currentSecurity.getWebResources())
- {
- for (String currentUrlPattern : currentCollection.getUrlPatterns())
- {
- if (urlPattern.equals(currentUrlPattern))
- {
- transportGuarantee = currentSecurity.getTransportGuarantee();
- }
- }
- }
- }
- }
-
- return transportGuarantee;
- }
}
Modified: trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSEndpointMetaDataBuilder.java
===================================================================
--- trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSEndpointMetaDataBuilder.java 2006-11-23 10:43:37 UTC (rev 1520)
+++ trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSEndpointMetaDataBuilder.java 2006-11-23 12:12:01 UTC (rev 1521)
@@ -37,7 +37,7 @@
* @author <a href="mailto:jason.greene@jboss.com">Jason T. Greene</a>
* @version $Revision$
*/
-public abstract class JAXWSEndpointMetaDataBuilder
+public abstract class JAXWSEndpointMetaDataBuilder extends JAXWSMetaDataBuilder
{
// provide logging
private final Logger log = Logger.getLogger(JAXWSEndpointMetaDataBuilder.class);
Modified: trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSWebServiceMetaDataBuilder.java
===================================================================
--- trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSWebServiceMetaDataBuilder.java 2006-11-23 10:43:37 UTC (rev 1520)
+++ trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSWebServiceMetaDataBuilder.java 2006-11-23 12:12:01 UTC (rev 1521)
@@ -29,7 +29,6 @@
import java.io.Writer;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
-import java.lang.reflect.Modifier;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.net.MalformedURLException;
@@ -215,6 +214,10 @@
if (wsClass.isAnnotationPresent(BindingType.class))
processBindingType(sepMetaData, wsClass);
+ // Init the transport guarantee
+ initTransportGuaranteeJSE(udi, sepMetaData, linkName);
+
+ // Process web methods
processWebMethods(sepMetaData, wsClass);
// Initialize types
Modified: trunk/src/test/ant/build-jars-jaxws.xml
===================================================================
--- trunk/src/test/ant/build-jars-jaxws.xml 2006-11-23 10:43:37 UTC (rev 1520)
+++ trunk/src/test/ant/build-jars-jaxws.xml 2006-11-23 12:12:01 UTC (rev 1521)
@@ -111,18 +111,8 @@
<fileset dir="${build.tests.dir}/classes">
<include name="org/jboss/test/ws/jaxws/jbws981/EJB3Bean.class"/>
<include name="org/jboss/test/ws/jaxws/jbws981/EJB3RemoteInterface.class"/>
- </fileset>
- </jar>
- <jar destfile="${build.tests.dir}/libs/jaxws-jbws981-client.jar">
- <fileset dir="${build.tests.dir}/classes">
<include name="org/jboss/test/ws/jaxws/jbws981/EndpointInterface.class"/>
</fileset>
- <metainf dir="${build.tests.dir}/resources/jaxws/jbws981/META-INF">
- <include name="application-client.xml"/>
- <include name="jboss-client.xml"/>
- <include name="jaxrpc-mapping.xml"/>
- <include name="wsdl/TestService.wsdl"/>
- </metainf>
</jar>
<!-- jaxws-jbws1178 -->
Modified: trunk/src/test/build.xml
===================================================================
--- trunk/src/test/build.xml 2006-11-23 10:43:37 UTC (rev 1520)
+++ trunk/src/test/build.xml 2006-11-23 12:12:01 UTC (rev 1521)
@@ -194,6 +194,7 @@
<pathelement location="${jboss.lib}/jboss-system.jar"/>
<pathelement location="${jboss.server.lib}/jboss.jar"/>
<pathelement location="${thirdparty.dir}/hibernate3.jar"/>
+ <pathelement location="${thirdparty.dir}/policy-1.0.jar"/>
<pathelement location="${thirdparty.dir}/qdox.jar"/>
<pathelement location="${thirdparty.dir}/servlet-api.jar"/>
<pathelement location="${thirdparty.dir}/stax-api-1.0.jar"/>
Modified: trunk/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/JBWS1093TestCase.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/JBWS1093TestCase.java 2006-11-23 10:43:37 UTC (rev 1520)
+++ trunk/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/JBWS1093TestCase.java 2006-11-23 12:12:01 UTC (rev 1521)
@@ -77,6 +77,11 @@
}
}
+ public void testAccessEnpoint() throws Exception
+ {
+ assertEquals(ServletTest.MESSAGE, port.echoString(ServletTest.MESSAGE));
+ }
+
public void testAccessServlet() throws Exception
{
String host = System.getProperty("jbosstest.host.name");
@@ -90,10 +95,4 @@
assertEquals(ServletTest.MESSAGE, line);
}
-
- public void testAccessEnpoint() throws Exception
- {
- assertEquals(ServletTest.MESSAGE, port.echoString(ServletTest.MESSAGE));
- }
-
}
Modified: trunk/src/test/java/org/jboss/test/ws/jaxrpc/jbws1190/JBWS1190TestCase.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jaxrpc/jbws1190/JBWS1190TestCase.java 2006-11-23 10:43:37 UTC (rev 1520)
+++ trunk/src/test/java/org/jboss/test/ws/jaxrpc/jbws1190/JBWS1190TestCase.java 2006-11-23 12:12:01 UTC (rev 1521)
@@ -30,7 +30,10 @@
import org.jboss.test.ws.JBossWSTestSetup;
/**
+ * [JBWS-1190] WSDL generated for JSR-181 POJO does not take 'transport-guarantee' in web.xml into account
*
+ * http://jira.jboss.org/jira/browse/JBWS-1190
+ *
* @author darran.lofthouse(a)jboss.com
* @since Oct 22, 2006
*/
@@ -42,7 +45,7 @@
public static Test suite()
{
- return JBossWSTestSetup.newTestSetup(JBWS1190TestCase.class, ARCHIVE_NAME+", jaxrpc-jbws1190-client.jar");
+ return JBossWSTestSetup.newTestSetup(JBWS1190TestCase.class, ARCHIVE_NAME + ", jaxrpc-jbws1190-client.jar");
}
protected void setUp() throws Exception
Modified: trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/ConfidentialEndpoint.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/ConfidentialEndpoint.java 2006-11-23 10:43:37 UTC (rev 1520)
+++ trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/ConfidentialEndpoint.java 2006-11-23 12:12:01 UTC (rev 1521)
@@ -32,11 +32,12 @@
Service operations, subject to the inheritance rules specified in Common
Annotations for the Java Platform [12], section 2.1.
*/
-@WebService(targetNamespace = "http://org.jboss/test/ws/jbws1190")
+@WebService(serviceName = "ConfidentialService", targetNamespace = "http://org.jboss/test/ws/jbws1190")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class ConfidentialEndpoint
{
+ // Intentionally no @WebMethod, see above
public String helloWorld(final String message)
{
return message;
Modified: trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/JBWS1190TestCase.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/JBWS1190TestCase.java 2006-11-23 10:43:37 UTC (rev 1520)
+++ trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/JBWS1190TestCase.java 2006-11-23 12:12:01 UTC (rev 1521)
@@ -24,17 +24,18 @@
import java.net.URL;
import javax.xml.namespace.QName;
-import javax.xml.rpc.Call;
-import javax.xml.rpc.Service;
+import javax.xml.ws.Service;
import junit.framework.Test;
import org.jboss.test.ws.JBossWSTest;
import org.jboss.test.ws.JBossWSTestSetup;
-import org.jboss.ws.jaxrpc.ServiceFactoryImpl;
/**
+ * [JBWS-1190] WSDL generated for JSR-181 POJO does not take 'transport-guarantee' in web.xml into account
*
+ * http://jira.jboss.org/jira/browse/JBWS-1190
+ *
* @author darran.lofthouse(a)jboss.com
* @since 19-October-2006
*/
@@ -43,7 +44,7 @@
private static final String ARCHIVE_NAME = "jaxws-jbws1190.war";
- private static Service service;
+ private static TestEndpoint port;
public static Test suite()
{
@@ -52,34 +53,22 @@
protected void setUp() throws Exception
{
- if (service == null)
+ if (port == null)
{
- ServiceFactoryImpl factory = new ServiceFactoryImpl();
URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jaxws-jbws1190/TestEndpoint?wsdl");
-
- QName qname = new QName("http://org.jboss/test/ws/jbws1190", "TestEndpointService");
- service = factory.createService(wsdlURL, qname);
+ QName qname = new QName("http://org.jboss/test/ws/jbws1190", "TestService");
+ Service service = Service.create(wsdlURL, qname);
+ port = (TestEndpoint)service.getPort(TestEndpoint.class);
}
}
public void testTestEndpoint() throws Exception
{
- QName portName = new QName("http://org.jboss/test/ws/jbws1190", "TestEndpointPort");
- QName methodName = new QName("http://org.jboss/test/ws/jbws1190", "testAddress");
-
- Call call = service.createCall(portName);
- call.setOperationName(methodName);
- call.invoke(new Object[] { ARCHIVE_NAME, "TestEndpointService", "http", "8080" });
+ port.testAddress(ARCHIVE_NAME, "TestService", "http", "8080");
}
public void testConfidentialEndpoint() throws Exception
{
- QName portName = new QName("http://org.jboss/test/ws/jbws1190", "TestEndpointPort");
- QName methodName = new QName("http://org.jboss/test/ws/jbws1190", "testAddress");
-
- Call call = service.createCall(portName);
- call.setOperationName(methodName);
- call.invoke(new Object[] { ARCHIVE_NAME, "ConfidentialEndpointService", "https", "8443" });
+ port.testAddress(ARCHIVE_NAME, "ConfidentialService", "https", "8443");
}
-
}
Modified: trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/TestEndpoint.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/TestEndpoint.java 2006-11-23 10:43:37 UTC (rev 1520)
+++ trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/TestEndpoint.java 2006-11-23 12:12:01 UTC (rev 1521)
@@ -32,7 +32,7 @@
* @author darran.lofthouse(a)jboss.com
* @since 19-October-2006
*/
-@WebService(targetNamespace = "http://org.jboss/test/ws/jbws1190")
+@WebService(serviceName = "TestService", targetNamespace = "http://org.jboss/test/ws/jbws1190")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public interface TestEndpoint extends Remote
{
Modified: trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/TestEndpointImpl.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/TestEndpointImpl.java 2006-11-23 10:43:37 UTC (rev 1520)
+++ trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1190/TestEndpointImpl.java 2006-11-23 12:12:01 UTC (rev 1521)
@@ -39,7 +39,7 @@
* @author darran.lofthouse(a)jboss.com
* @since 19-October-2006
*/
-@WebService(name = "TestEndpoint", endpointInterface = "org.jboss.test.ws.jaxws.jbws1190.TestEndpoint")
+@WebService(endpointInterface = "org.jboss.test.ws.jaxws.jbws1190.TestEndpoint")
public class TestEndpointImpl implements TestEndpoint
{
Modified: trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/EJB3Bean.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/EJB3Bean.java 2006-11-23 10:43:37 UTC (rev 1520)
+++ trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/EJB3Bean.java 2006-11-23 12:12:01 UTC (rev 1521)
@@ -38,15 +38,12 @@
* @since Nov 2, 2006
*/
@Stateless
-@WebService(name = "EndpointInterface", targetNamespace = "http://www.jboss.org/test/ws/jaxws/jbws981", serviceName = "TestService")
-@SOAPBinding(style = SOAPBinding.Style.RPC)
-@PortComponent(virtualHosts = { "localhost", "www.jboss.org" })
+@WebService(endpointInterface = "org.jboss.test.ws.jaxws.jbws981.EndpointInterface")
public class EJB3Bean implements EJB3RemoteInterface
{
private static final Logger log = Logger.getLogger(EJB3Bean.class);
- @WebMethod
public String hello(final String message)
{
MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
Modified: trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/EndpointInterface.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/EndpointInterface.java 2006-11-23 10:43:37 UTC (rev 1520)
+++ trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/EndpointInterface.java 2006-11-23 12:12:01 UTC (rev 1521)
@@ -8,8 +8,16 @@
* terms of use that apply to this source code.
*/
package org.jboss.test.ws.jaxws.jbws981;
-public interface EndpointInterface extends java.rmi.Remote
+
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+import org.jboss.ws.annotation.PortComponent;
+
+@WebService(targetNamespace = "http://www.jboss.org/test/ws/jaxws/jbws981", serviceName = "TestService")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+@PortComponent(virtualHosts = { "localhost", "www.jboss.org" })
+public interface EndpointInterface
{
-
- public java.lang.String hello(java.lang.String string_1) throws java.rmi.RemoteException;
+ String hello(String msg);
}
Modified: trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.java 2006-11-23 10:43:37 UTC (rev 1520)
+++ trunk/src/test/java/org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.java 2006-11-23 12:12:01 UTC (rev 1521)
@@ -21,16 +21,21 @@
*/
package org.jboss.test.ws.jaxws.jbws981;
-import javax.naming.InitialContext;
-import javax.xml.rpc.Service;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
import junit.framework.Test;
import org.jboss.test.ws.JBossWSTest;
import org.jboss.test.ws.JBossWSTestSetup;
/**
+ * [JBWS-981] Virtual host configuration for EJB endpoints
*
+ * http://jira.jboss.org/jira/browse/JBWS-981
+ *
* @author darran.lofthouse(a)jboss.com
* @since Nov 2, 2006
*/
@@ -41,7 +46,7 @@
public static Test suite()
{
- return JBossWSTestSetup.newTestSetup(JBWS981TestCase.class, "jaxws-jbws981.jar, jaxws-jbws981-client.jar");
+ return JBossWSTestSetup.newTestSetup(JBWS981TestCase.class, "jaxws-jbws981.jar");
}
protected void setUp() throws Exception
@@ -49,14 +54,19 @@
super.setUp();
if (port == null)
{
- InitialContext iniCtx = getInitialContext();
- Service service = (Service)iniCtx.lookup("java:comp/env/service/TestService");
+ URL wsdlURL = new URL("http://localhost.localdomain:8080/jaxws-jbws981/EJB3Bean?wsdl");
+ QName serviceName = new QName("http://www.jboss.org/test/ws/jaxws/jbws981", "TestService");
+ Service.create(wsdlURL, serviceName);
+ Service service = Service.create(wsdlURL, serviceName);
port = (EndpointInterface)service.getPort(EndpointInterface.class);
}
}
public void testCall() throws Exception
{
+ System.out.println("FIXME: [JBWS-981] Virtual host configuration for EJB endpoints");
+ if (true) return;
+
String message = "hello";
assertEquals(message, port.hello(message));
}
[View Less]
18 years, 4 months
JBossWS SVN: r1520 - trunk/src/test/java/org/jboss/test/ws/jaxws/samples/jsr181ejb
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2006-11-23 05:43:37 -0500 (Thu, 23 Nov 2006)
New Revision: 1520
Modified:
trunk/src/test/java/org/jboss/test/ws/jaxws/samples/jsr181ejb/JSR181WebServiceEJB3TestCase.java
Log:
FIXME: [JBAS-3825] Fix BASIC authentication
Modified: trunk/src/test/java/org/jboss/test/ws/jaxws/samples/jsr181ejb/JSR181WebServiceEJB3TestCase.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jaxws/samples/…
[View More]jsr181ejb/JSR181WebServiceEJB3TestCase.java 2006-11-23 10:20:10 UTC (rev 1519)
+++ trunk/src/test/java/org/jboss/test/ws/jaxws/samples/jsr181ejb/JSR181WebServiceEJB3TestCase.java 2006-11-23 10:43:37 UTC (rev 1520)
@@ -67,7 +67,7 @@
public void testWebService() throws Exception
{
- System.out.println("FIXME: [JBAS-3835] Fix BASIC authentication");
+ System.out.println("FIXME: [JBAS-3825] Fix BASIC authentication");
if (true) return;
assertWSDLAccess();
[View Less]
18 years, 4 months
JBossWS SVN: r1519 - trunk/src/main/java/org/jboss/ws/deployment
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2006-11-23 05:20:10 -0500 (Thu, 23 Nov 2006)
New Revision: 1519
Modified:
trunk/src/main/java/org/jboss/ws/deployment/AbstractServiceEndpointPublisher.java
Log:
[JBWS-1107] Spaces around the class specified in servlet-class of the POJO endpoint causes ClassNotFound exception
Modified: trunk/src/main/java/org/jboss/ws/deployment/AbstractServiceEndpointPublisher.java
===================================================================
--- trunk/src/…
[View More]main/java/org/jboss/ws/deployment/AbstractServiceEndpointPublisher.java 2006-11-23 10:13:55 UTC (rev 1518)
+++ trunk/src/main/java/org/jboss/ws/deployment/AbstractServiceEndpointPublisher.java 2006-11-23 10:20:10 UTC (rev 1519)
@@ -146,7 +146,7 @@
continue;
// Get the servlet class
- String servletClassName = DOMUtils.getTextContent(classElement);
+ String servletClassName = DOMUtils.getTextContent(classElement).trim();
Class servletClass = (loader != null ? loader.loadClass(servletClassName) : null);
String targetBeanName = null;
[View Less]
18 years, 4 months
JBossWS SVN: r1518 - trunk/src/test/java/org/jboss/test/ws/jaxws/asynchronous
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2006-11-23 05:13:55 -0500 (Thu, 23 Nov 2006)
New Revision: 1518
Modified:
trunk/src/test/java/org/jboss/test/ws/jaxws/asynchronous/AsynchronousProxyTestCase.java
Log:
FIXME: [JBWS-1294] Add support for mapping async methods
Modified: trunk/src/test/java/org/jboss/test/ws/jaxws/asynchronous/AsynchronousProxyTestCase.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jaxws/asynchronous/…
[View More]AsynchronousProxyTestCase.java 2006-11-23 09:58:33 UTC (rev 1517)
+++ trunk/src/test/java/org/jboss/test/ws/jaxws/asynchronous/AsynchronousProxyTestCase.java 2006-11-23 10:13:55 UTC (rev 1518)
@@ -75,13 +75,9 @@
public void testInvokeAsyncReentrant() throws Exception
{
+ System.out.println("FIXME: [JBWS-1294] Add support for mapping async methods");
+ if (true) return;
- if(true)
- {
- System.out.println("FIXME:JBWS-1294");
- return;
- }
-
TestEndpoint port = createProxy();
Response response = port.echoAsync("Async");
[View Less]
18 years, 4 months
JBossWS SVN: r1517 - in trunk: . src/ant src/main/java/org/jboss/ws/metadata src/main/java/org/jboss/ws/metadata/builder src/main/java/org/jboss/ws/metadata/builder/jaxrpc
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2006-11-23 04:58:33 -0500 (Thu, 23 Nov 2006)
New Revision: 1517
Modified:
trunk/.classpath
trunk/src/ant/build-thirdparty.xml
trunk/src/main/java/org/jboss/ws/metadata/ClientEndpointMetaData.java
trunk/src/main/java/org/jboss/ws/metadata/EndpointMetaData.java
trunk/src/main/java/org/jboss/ws/metadata/ServerEndpointMetaData.java
trunk/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java
trunk/src/main/java/org/jboss/ws/…
[View More]metadata/builder/jaxrpc/JAXRPCServerMetaDataBuilder.java
Log:
[JBWS-1190] WSDL generated for JSR-181 POJO does not take 'transport-guarantee' in web.xml into account
Modified: trunk/.classpath
===================================================================
--- trunk/.classpath 2006-11-23 07:29:30 UTC (rev 1516)
+++ trunk/.classpath 2006-11-23 09:58:33 UTC (rev 1517)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="org/jboss/ws/integration/jboss50/ServiceRefHandler.java" kind="src" path="src/main/java"/>
+ <classpathentry kind="src" path="output/tests/wstools/java"/>
<classpathentry excluding="org/jboss/test/ws/interop/" kind="src" path="src/test/java"/>
<classpathentry kind="lib" path="thirdparty/activation.jar"/>
<classpathentry kind="lib" path="thirdparty/mailapi.jar"/>
Modified: trunk/src/ant/build-thirdparty.xml
===================================================================
--- trunk/src/ant/build-thirdparty.xml 2006-11-23 07:29:30 UTC (rev 1516)
+++ trunk/src/ant/build-thirdparty.xml 2006-11-23 09:58:33 UTC (rev 1517)
@@ -109,7 +109,7 @@
<pathelement location="${jboss.lib}/jboss-mbeans.jar"/>
<pathelement location="${jboss.lib}/jboss-system.jar"/>
<pathelement location="${jboss.server.lib}/jboss.jar"/>
- <pathelement location="${jboss.client}/jbosssx-client.jar"/>
+ <pathelement location="${jboss.server.lib}/jboss-security-spi.jar"/>
<pathelement location="${jboss.server.deployers}/jboss-aop-jboss5.deployer/jboss-aop-jdk50.jar"/>
<pathelement location="${jboss.server.deployers}/jboss-aop-jboss5.deployer/jboss-aspect-library-jdk50.jar"/>
</path>
Modified: trunk/src/main/java/org/jboss/ws/metadata/ClientEndpointMetaData.java
===================================================================
--- trunk/src/main/java/org/jboss/ws/metadata/ClientEndpointMetaData.java 2006-11-23 07:29:30 UTC (rev 1516)
+++ trunk/src/main/java/org/jboss/ws/metadata/ClientEndpointMetaData.java 2006-11-23 09:58:33 UTC (rev 1517)
@@ -161,7 +161,6 @@
buffer.append("\n configFile=" + getConfigFile());
buffer.append("\n configName=" + getConfigName());
buffer.append("\n authMethod=" + getAuthMethod());
- buffer.append("\n transportGuarantee=" + getTransportGuarantee());
buffer.append("\n properties=" + getProperties());
for (OperationMetaData opMetaData : getOperations())
Modified: trunk/src/main/java/org/jboss/ws/metadata/EndpointMetaData.java
===================================================================
--- trunk/src/main/java/org/jboss/ws/metadata/EndpointMetaData.java 2006-11-23 07:29:30 UTC (rev 1516)
+++ trunk/src/main/java/org/jboss/ws/metadata/EndpointMetaData.java 2006-11-23 09:58:33 UTC (rev 1517)
@@ -93,8 +93,6 @@
private Class seiClass;
// The optional authentication method
private String authMethod;
- // The optional transport guarantee
- private String transportGuarantee;
// Arbitrary properties given by <call-property>
private Properties properties;
// The SOAPBinding style
@@ -325,16 +323,6 @@
this.authMethod = authMethod;
}
- public String getTransportGuarantee()
- {
- return transportGuarantee;
- }
-
- public void setTransportGuarantee(String transportGuarantee)
- {
- this.transportGuarantee = transportGuarantee;
- }
-
public Properties getProperties()
{
return properties;
Modified: trunk/src/main/java/org/jboss/ws/metadata/ServerEndpointMetaData.java
===================================================================
--- trunk/src/main/java/org/jboss/ws/metadata/ServerEndpointMetaData.java 2006-11-23 07:29:30 UTC (rev 1516)
+++ trunk/src/main/java/org/jboss/ws/metadata/ServerEndpointMetaData.java 2006-11-23 09:58:33 UTC (rev 1517)
@@ -68,6 +68,8 @@
private String[] virtualHosts;
// The HTTP url parttern
private String urlPattern;
+ // The optional transport guarantee
+ private String transportGuarantee;
// The bean that registers with the ServiceEndpointManager
private String managedEndpointBean = ServiceEndpoint.class.getName();
@@ -164,6 +166,16 @@
this.urlPattern = urlPattern;
}
+ public String getTransportGuarantee()
+ {
+ return transportGuarantee;
+ }
+
+ public void setTransportGuarantee(String transportGuarantee)
+ {
+ this.transportGuarantee = transportGuarantee;
+ }
+
public String getManagedEndpointBean()
{
return managedEndpointBean;
Modified: trunk/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java
===================================================================
--- trunk/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java 2006-11-23 07:29:30 UTC (rev 1516)
+++ trunk/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java 2006-11-23 09:58:33 UTC (rev 1517)
@@ -294,10 +294,10 @@
/** Replace the address locations for a given port component.
*/
- public static void replaceAddressLocation(ServerEndpointMetaData epMetaData)
+ public static void replaceAddressLocation(ServerEndpointMetaData sepMetaData)
{
- WSDLDefinitions wsdlDefinitions = epMetaData.getServiceMetaData().getWsdlDefinitions();
- QName portName = epMetaData.getQName();
+ WSDLDefinitions wsdlDefinitions = sepMetaData.getServiceMetaData().getWsdlDefinitions();
+ QName portName = sepMetaData.getQName();
boolean endpointFound = false;
for (WSDLService wsdlService : wsdlDefinitions.getServices())
@@ -312,11 +312,11 @@
String orgAddress = wsdlEndpoint.getAddress();
String uriScheme = getUriScheme(orgAddress);
- String transportGuarantee = epMetaData.getTransportGuarantee();
+ String transportGuarantee = sepMetaData.getTransportGuarantee();
if ("CONFIDENTIAL".equals(transportGuarantee))
uriScheme = "https";
- String servicePath = epMetaData.getContextRoot() + epMetaData.getURLPattern();
+ String servicePath = sepMetaData.getContextRoot() + sepMetaData.getURLPattern();
String serviceEndpointURL = getServiceEndpointAddress(uriScheme, servicePath);
ServiceEndpointManagerFactory factory = ServiceEndpointManagerFactory.getInstance();
@@ -327,7 +327,7 @@
{
log.debug("Replace service endpoint address '" + orgAddress + "' with '" + serviceEndpointURL + "'");
wsdlEndpoint.setAddress(serviceEndpointURL);
- epMetaData.setEndpointAddress(serviceEndpointURL);
+ sepMetaData.setEndpointAddress(serviceEndpointURL);
// modify the wsdl-1.1 definition
if (wsdlDefinitions.getWsdlOneOneDefinition() != null)
@@ -338,7 +338,7 @@
log.debug("Don't replace service endpoint address '" + orgAddress + "'");
try
{
- epMetaData.setEndpointAddress(new URL(orgAddress).toExternalForm());
+ sepMetaData.setEndpointAddress(new URL(orgAddress).toExternalForm());
}
catch (MalformedURLException e)
{
Modified: trunk/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCServerMetaDataBuilder.java
===================================================================
--- trunk/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCServerMetaDataBuilder.java 2006-11-23 07:29:30 UTC (rev 1516)
+++ trunk/src/main/java/org/jboss/ws/metadata/builder/jaxrpc/JAXRPCServerMetaDataBuilder.java 2006-11-23 09:58:33 UTC (rev 1517)
@@ -271,10 +271,10 @@
/**
* Read the transport guarantee from web.xml
*/
- protected void initTransportGuaranteeJSE(UnifiedDeploymentInfo udi, EndpointMetaData epMetaData, String servletLink) throws IOException
+ protected void initTransportGuaranteeJSE(UnifiedDeploymentInfo udi, ServerEndpointMetaData sepMetaData, String servletLink) throws IOException
{
UnifiedWebMetaData webMetaData = (UnifiedWebMetaData)udi.metaData;
- epMetaData.setTransportGuarantee(getTransportGuarantee(webMetaData, servletLink));
+ sepMetaData.setTransportGuarantee(getTransportGuarantee(webMetaData, servletLink));
}
[View Less]
18 years, 4 months