cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1149479 - in /cxf/branches/2.3.x-fixes: ./ distribution/src/main/release/samples/wsdl_first_dynamic_client/ distribution/src/main/release/samples/wsdl_first_dynamic_client/src/demo/hw/client/ distribution/src/main/release/samples/wsdl_firs...
Date Fri, 22 Jul 2011 06:55:01 GMT
Author: ffang
Date: Fri Jul 22 06:55:00 2011
New Revision: 1149479

URL: http://svn.apache.org/viewvc?rev=1149479&view=rev
Log:
Merged revisions 1149478 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/branches/2.4.x-fixes

................
  r1149478 | ffang | 2011-07-22 14:50:05 +0800 (五, 22  7 2011) | 9 lines
  
  Merged revisions 1149476 via svnmerge from 
  https://svn.apache.org/repos/asf/cxf/trunk
  
  ........
    r1149476 | ffang | 2011-07-22 14:42:18 +0800 (五, 22  7 2011) | 1 line
    
    [CXF-3638]wsdl_first_dynamic_client example doesn't work
  ........
................

Modified:
    cxf/branches/2.3.x-fixes/   (props changed)
    cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/pom.xml
    cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/src/demo/hw/client/ComplexClient.java
    cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/src/org/apache/cxf/demo/complex/ComplexImpl.java

Propchange: cxf/branches/2.3.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/pom.xml?rev=1149479&r1=1149478&r2=1149479&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/pom.xml
(original)
+++ cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/pom.xml
Fri Jul 22 06:55:00 2011
@@ -63,6 +63,23 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copywsdlfiles</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <copy file="${basedir}/wsdl/complex.wsdl" todir="${basedir}/target/classes/wsdl"
/>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
     <profiles>

Modified: cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/src/demo/hw/client/ComplexClient.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/src/demo/hw/client/ComplexClient.java?rev=1149479&r1=1149478&r2=1149479&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/src/demo/hw/client/ComplexClient.java
(original)
+++ cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/src/demo/hw/client/ComplexClient.java
Fri Jul 22 06:55:00 2011
@@ -42,7 +42,8 @@ import org.apache.cxf.service.model.Serv
 public final class ComplexClient {
     
     private static final QName SERVICE_NAME 
-        = new QName("http://complex.demo.cxf.apache.org/", "ComplexImplService");
+        = new QName("http://Company.com/Application", 
+                     "Company_ESB_Application_Biztalk_AgentDetails_4405_AgentDetails_Prt");
     
     private ComplexClient() {
     }
@@ -71,7 +72,8 @@ public final class ComplexClient {
         ClientImpl clientImpl = (ClientImpl) client;
         Endpoint endpoint = clientImpl.getEndpoint();
         ServiceInfo serviceInfo = endpoint.getService().getServiceInfos().get(0);
-        QName bindingName = new QName("http://complex.demo.cxf.apache.org/", "ComplexImplServiceSoapBinding");
+        QName bindingName = new QName("http://Company.com/Application", 
+            "Company_ESB_Application_Biztalk_AgentDetails_4405_AgentDetails_PrtSoap");
         BindingInfo binding = serviceInfo.getBinding(bindingName);
         //{
         QName opName = new QName("http://Company.com/Application", "GetAgentDetails");

Modified: cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/src/org/apache/cxf/demo/complex/ComplexImpl.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/src/org/apache/cxf/demo/complex/ComplexImpl.java?rev=1149479&r1=1149478&r2=1149479&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/src/org/apache/cxf/demo/complex/ComplexImpl.java
(original)
+++ cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/src/org/apache/cxf/demo/complex/ComplexImpl.java
Fri Jul 22 06:55:00 2011
@@ -30,6 +30,14 @@ import agentwsresponse.agent.legacysyste
  * This is a trivial implementation of a service contributed in a bug report.  It's useful
  * as an example of a hard case of using dynamic client.
  */
+@javax.jws.WebService(
+    serviceName = "Company_ESB_Application_Biztalk_AgentDetails_4405_AgentDetails_Prt",
+    portName = "Company_ESB_Application_Biztalk_AgentDetails_4405_AgentDetails_PrtSoap",
+    targetNamespace = "http://Company.com/Application",
+    wsdlLocation = "/wsdl/complex.wsdl",
+    endpointInterface = 
+        "com.company.application.CompanyESBApplicationBiztalkAgentDetails4405AgentDetailsPrtSoap")
+
 public class ComplexImpl implements CompanyESBApplicationBiztalkAgentDetails4405AgentDetailsPrtSoap
{
 
     /** {@inheritDoc}*/



Mime
View raw message