Generate the client

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Generate the client

Esha
I was tring to generate the client for my data service. I just put the uri: http://192.168.1.56:9762/services/getWeatherService and 'generate'. Then it gives the following error.
How can i generate it.

javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at 'http://192.168.1.56:9762/services/getWeatherService'.: java.io.IOException: Server returned HTTP response code: 500 for URL: http://192.168.1.56:9762/services/getWeatherService
_______________________________________________
Wsas-java-user mailing list
[hidden email]
https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Generate the client

Charitha Kankanamge
Which version of WSAS are you using? If you are using WSAS-3.*, the
default http port is 9763 NOT 9762.
And the uri of wsdl should be
"http://192.168.1.56:9762/services/getWeatherService?wsdl"

Regards
Charitha

kumudu harshani wrote:

> I was tring to generate the client for my data service. I just put the
> uri: http://192.168.1.56:9762/services/getWeatherService and
> 'generate'. Then it gives the following error.
> How can i generate it.
>
> *javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR:
> Unable to resolve imported document at
> 'http://192.168.1.56:9762/services/getWeatherService' 
> <http://192.168.1.56:9762/services/getWeatherService%27>.:
> java.io.IOException: Server returned HTTP response code: 500 for URL:
> http://192.168.1.56:9762/services/getWeatherService*
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Wsas-java-user mailing list
>[hidden email]
>https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user
>  
>



_______________________________________________
Wsas-java-user mailing list
[hidden email]
https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Generate the client

sumedha rubasinghe
In reply to this post by Esha
Hi Kumudu,
Following[1] might help you.
/sumedha

[1] http://wso2.org/blog/sumedha/4663



kumudu harshani wrote:

> I was tring to generate the client for my data service. I just put the
> uri: http://192.168.1.56:9762/services/getWeatherService and
> 'generate'. Then it gives the following error.
> How can i generate it.
>
> *javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR:
> Unable to resolve imported document at
> 'http://192.168.1.56:9762/services/getWeatherService' 
> <http://192.168.1.56:9762/services/getWeatherService%27>.:
> java.io.IOException: Server returned HTTP response code: 500 for URL:
> http://192.168.1.56:9762/services/getWeatherService*
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wsas-java-user mailing list
> [hidden email]
> https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user


_______________________________________________
Wsas-java-user mailing list
[hidden email]
https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user
Loading...