I will try to make this question as clear as possible.
I have a Java EAR project file with several JAX-WS web services.
Each web service has an element that imports an XSD schema file.
If I access the wsdl file in the project, the element is present.
If I access the same wsdl from the client (browser), the item is not displayed.
Does anyone know why this is happening?
WSDL from project:
...
// The following lines <types> ate miissing on the WSDL when accessed from the client (browser)
<types>
<xsd:schema>
<xsd:import namespace="http://xxxxx.call/" schemaLocation="Callxxxxx_schema.xsd"/>
</xsd:schema>
</types>
...
<service name="Call_xxxxxx">
<port name="Call_xxxxxPort" binding="tns:Call_xxxxxPortBinding">
<soap:address location="http://srv-can01-dev.teste.lab:9081/MyModule/Call_xxxxx"/>
</port>
</service>
...
(same) WSDL from client:
...
...
<service name="Call_xxxxx">
<port name="Call_xxxxxPort" binding="tns:Call_xxxxxPortBinding">
<soap:address location="http://machineIp:9081/MyModule/Call_xxxxx"/>
</port>
</service>
...
source
share