Author: dkulp
Date: Thu Jan 22 12:41:45 2009
New Revision: 736785
URL: http://svn.apache.org/viewvc?rev=736785&view=rev
Log:
strip the wcf endpoint refs from the wsdl
Modified:
cxf/sandbox/interopfest/wssec11/src/main/java/interop/server/Server.java
cxf/sandbox/interopfest/wssec11/src/style/makelocal.xsl
Modified:
cxf/sandbox/interopfest/wssec11/src/main/java/interop/server/Server.java
URL:
http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec11/src/main/java/interop/server/Server.java?rev=736785&r1=736784&r2=736785&view=diff
==============================================================================
--- cxf/sandbox/interopfest/wssec11/src/main/java/interop/server/Server.java
(original)
+++ cxf/sandbox/interopfest/wssec11/src/main/java/interop/server/Server.java
Thu Jan 22 12:41:45 2009
@@ -68,6 +68,9 @@
argv = new String[] {"XD-ES"};
argv = new String[] {"XD-SEES"};
*/
+
+
addProperties(Endpoint.publish("http://home.mesa2.com:9001/KPingService",
+ new KPingService()));
}
private final void addProperties(Endpoint ep) {
ep.getProperties().put(SecurityConstants.CALLBACK_HANDLER, new
KeystorePasswordCallback());
@@ -112,4 +115,11 @@
wsdlLocation = "target/wsdl2/WsSecurity11.wsdl")
public static class UXPingService extends PingService {
}
+ @javax.jws.WebService(targetNamespace =
"http://InteropBaseAddress/interop",
+ serviceName = "PingService11",
+ portName = "K_IPingService",
+ endpointInterface =
"interopbaseaddress.interop.IPingService",
+ wsdlLocation = "target/wsdl2/WsSecurity11.wsdl")
+ public static class KPingService extends PingService {
+ }
}
Modified: cxf/sandbox/interopfest/wssec11/src/style/makelocal.xsl
URL:
http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec11/src/style/makelocal.xsl?rev=736785&r1=736784&r2=736785&view=diff
==============================================================================
--- cxf/sandbox/interopfest/wssec11/src/style/makelocal.xsl (original)
+++ cxf/sandbox/interopfest/wssec11/src/style/makelocal.xsl Thu Jan 22 12:41:45
2009
@@ -3,7 +3,8 @@
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
+ xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
+ xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" >
<xsl:output method="xml"/>
<xsl:template match="xs:import">
@@ -65,6 +66,8 @@
</xsl:template>
<xsl:template match="xs:eleme...@ref='xs:schema']">
</xsl:template>
+ <xsl:template match="wsdl:port/wsa:EndpointReference">
+ </xsl:template>
<xsl:template match="@*">
<xsl:copy/>
</xsl:template>