You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Saket Raizada <sa...@statefarm.com> on 2007/10/24 15:47:33 UTC
WSDL2Java not working for HTTPS URL
Hi folks,
I have a POJO that I deployed as a service and now I can access the WSDL
file as
http://central.acme.com:8081/axis2/services/SMProxy?wsdl
or as
https://central.acme.com:8443/axis2/services/SMProxy?wsdl
Now when I run WSDL2Java to create the client it works for the http URL
but fails for the https URL
It gives a generic error
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing
WSDL
I have added the security certificate required to the cacerts file
Any pointers are appreciated. (AXIS 2.0 ver 1.3 , ant 1.7 , java.version
= 1.5.0.07
Attached is the WSDL file
regards
-machoq
RE: WSDL2Java not working for HTTPS URL
Posted by Saket Raizada <sa...@statefarm.com>.
Thanks for the response Keith but I don't get to the stage where it
complains about a security certificate
It simply spews this error
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing
WSDL
and works if I just take the https off , is it an AXIS 2 1.3 bug ?
Is there a flag that I can turn to get any verbose output on this ?
Thanks for the help guys !
regards
-machoq
________________________________
From: keith chapman [mailto:keithgchapman@gmail.com]
Sent: Thursday, October 25, 2007 1:05 AM
To: axis-user@ws.apache.org
Subject: Re: WSDL2Java not working for HTTPS URL
Hope this tip will help you
http://wso2.org/blog/dims/1906
Thanks,
Keith.
On 10/24/07, Saket Raizada <sa...@statefarm.com> wrote:
Hi folks,
I have a POJO that I deployed as a service and now I can access
the WSDL file as
http://central.acme.com:8081/axis2/services/SMProxy?wsdl
or as
https://central.acme.com:8443/axis2/services/SMProxy?wsdl
Now when I run WSDL2Java to create the client it works for the
http URL but fails for the https URL
It gives a generic error
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error
parsing WSDL
I have added the security certificate required to the cacerts
file
Any pointers are appreciated. (AXIS 2.0 ver 1.3 , ant 1.7 ,
java.version = 1.5.0.07
Attached is the WSDL file
regards
-machoq
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/
Re: WSDL2Java not working for HTTPS URL
Posted by keith chapman <ke...@gmail.com>.
Hope this tip will help you
http://wso2.org/blog/dims/1906
Thanks,
Keith.
On 10/24/07, Saket Raizada <sa...@statefarm.com> wrote:
>
> Hi folks,
> I have a POJO that I deployed as a service and now I can access the WSDL
> file as
> http://central.acme.com:8081/axis2/services/SMProxy?wsdl
> or as
> https://central.acme.com:8443/axis2/services/SMProxy?wsdl
>
> Now when I run WSDL2Java to create the client it works for the http URL
> but *fails for the https URL*
> It gives a generic error
> *org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
> *
>
> I have added the security certificate required to the cacerts file
>
> Any pointers are appreciated. (AXIS 2.0 ver 1.3 , ant 1.7 , java.version =
> 1.5.0.07
>
> Attached is the WSDL file
>
> regards
> -machoq
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/