Localhost polluting ?WSDL for simple service
812146Mar 4 2011 — edited Mar 6 2011Hello,
I have created a simple service based on the Buelow tutorial. I run JDeveloper on Windows, the server on Linux.
However, the generated WSDL has "localhost" as the location of the "<abstractWSDL>". I'm not even sure why we need that abstractWSDL, as the info is in the main wsdl file. All the other service referencences are correct, just not that one. I have told the WL server its own machine DNS name (soabmp-vm.local).
I have hacked it by just copying the file locally, but that is bad practice.
Any ideas welcome, WSDL below.
Anthony
http://soabpm-vm.local:8001/soa-infra/services/default/Project1/getStatusByCC?WSDL
<?xml version="1.0" encoding="UTF-8" ?>
<wsdl:definitions
name="getStatusByCC"
targetNamespace="http://oracle.com/sca/soapservice/CrCardTutAp1/Project1/getStatusByCC"
xmlns:tns="http://oracle.com/sca/soapservice/CrCardTutAp1/Project1/getStatusByCC"
xmlns:inp1="http://www.globalcompany.com/ns/CCAuthorizationService"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>
<wsdl:documentation>
<abstractWSDL>http://localhost:8001/soa-infra/services/default/Project1!1.0/getStatusByCC.wsdl</abstractWSDL>
</wsdl:documentation>
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://www.globalcompany.com/ns/CCAuthorizationService" schemaLocation="http://soabpm-vm.local:8001/soa-infra/services/default/Project1/getStatusByCC?XSD=xsd/creditcheck.xsd"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="requestMessage">
...
<wsdl:service name="getStatusByCC">
<wsdl:port name="execute_pt" binding="tns:execute_pttBinding">
<soap:address location="http://soabpm-vm.local:8001/soa-infra/services/default/Project1/getStatusByCC"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>