Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The most likely reason for this is that your web service generated WSDL will define the service endpoint address as:</p> <blockquote> <p><code>http://example.com:8080/service/service1.asmx</code></p> </blockquote> <p>You could provide a separate static WSDL definition and modify the following section to use port 80:</p> <pre><code>&lt;wsdl:service name="Service1"&gt; &lt;wsdl:port name="Service1Soap" binding="tns:Service1Soap"&gt; &lt;soap:address location="http://example.com:8080/service/service1.asmxx" /&gt; &lt;/wsdl:port&gt; &lt;wsdl:port name="Service1Soap12" binding="tns:Service1Soap12"&gt; &lt;soap12:address location="http://example.com:8080/service/service1.asmx" /&gt; &lt;/wsdl:port&gt; &lt;/wsdl:service&gt; </code></pre> <p>This should cause the client to consume the WSDL and generate stub code to bind to the correct port (which is the Apache server acting as a proxy).</p> <p>Another alternative method to force the correct address to appear in the generated WDSL is to use a <a href="http://msdn.microsoft.com/en-us/library/system.web.services.description.soapextensionreflector.aspx" rel="nofollow noreferrer"><code>SoapExtensionReflector</code></a> to modify the address <code>location</code> on the fly:</p> <blockquote> <p><a href="http://blogs.msdn.com/kaevans/archive/2005/11/16/493496.aspx" rel="nofollow noreferrer">Modify a Web Service's WSDL Using a SoapExtensionReflector</a></p> </blockquote> <p>I have used the above method successfully in the past.</p> <p>Alternatively, you could, if the client is .NET based, override the base URL for the service:</p> <p><a href="http://msdn.microsoft.com/en-us/library/system.web.services.protocols.webclientprotocol.url.aspx" rel="nofollow noreferrer">WebClientProtocol.Url Property (MSDN Library)</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload