Hi Neil,
here you are trying to modify three HTTP binding based  end points,
but the values of "location" attribute contain HTTPS address and this
will not work ,  you should use HTTP address for location attribute.

e.g. -
http://proxy.example.net/axis2/services/ExampleService.ExampleServiceHttpSoap12Endpoint

If you want to use HTTPS , first you have to enable HTTPS transport
for Axis2 using axis2.xml file and then try for above . You may refer
Axis2 documentation for this.


Thanks ,


On Mon, May 11, 2009 at 5:58 PM, Neil Youngman
<[email protected]> wrote:
> Sagara Gunathunga wrote:
>> Hi Neil,
>> You could  try for following two parameters in the services.xml file
>> along with edited WSDL file in the
>>  META-INF directory.
>>
>> <parameter name="useOrignalWSDL"> true</parameter>
>> <parameter name="modifyUserWSDLPortAddress">false</parameter>
>
> Thanks for that. Unfortunately, it doesn't work.
>
> The edited WSDL in my META-INF directory is
>
>     <wsdl:service name="ExampleService">
>         <wsdl:port name="ExampleServiceHttpSoap11Endpoint"
> binding="ns:ExampleServiceSoap11Binding">
>             <soap:address
> location="https://proxy.example.net/axis2/services/ExampleService.ExampleServiceHttpSoap11Endpoint/"/>
>         </wsdl:port>
>         <wsdl:port name="ExampleServiceHttpSoap12Endpoint"
> binding="ns:ExampleServiceSoap12Binding">
>             <soap12:address
> location="https://proxy.example.net/axis2/services/ExampleService.ExampleServiceHttpSoap12Endpoint/"/>
>         </wsdl:port>
>         <wsdl:port name="ExampleServiceHttpEndpoint"
> binding="ns:ExampleServiceHttpBinding">
>             <http:address
> location="https://proxy.example.net/axis2/services/ExampleService.ExampleServiceHttpEndpoint/"/>
>         </wsdl:port>
>     </wsdl:service>
>
> but it comes back from Axis2 as
>
> <wsdl:service name="ExampleService"/>
>
> and the preceding <wsdl:binding> tags are also lost :-(
>
> Neil Youngman
>
>
> Neil Youngman
> Developer
> Wirefast Limited
>
> Wirefast provides secure corporate messaging services.
> See our messaging solutions at http://www.wirefast.com/
>
> Please consider the environment.
> Does this email or attachment need to be printed?
>
> This message contains confidential information and is intended only
> for the individual named. If you are not the named addressee you
> should not disseminate, distribute or copy this email. Please
> notify the sender immediately by email if you have received this
> email by mistake and delete this email from your system.
>
> Email transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses. The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of email transmission.
> Wirefast Limited is registered in England & Wales
> Company number: 03865860
> Registered Office: 7/10 Chandos Street, Cavendish Square, London, W1G 9DQ



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://sagaras.awardspace.com/

Reply via email to