users@jax-ws.java.net

Re: for error of add web service in NetBean

From: yuyin Song <yuyinsong_at_yahoo.com>
Date: Fri, 21 Jul 2006 06:22:32 -0700 (PDT)

Hi Jitu,

Thanks. I tried to use NetBean 5.5. It looks like not
support web service generated from WSDL. When we
create web service, the options do not include web
services generated from WSDL. I am not sure why, and
feel strange. Actually, NetBean has supported web
service generated from WSDL. That is why I used NetBet
5.0 not 5.5. What is your idea for that?

My problem is error for add service. I successfully
deploy web service and display web page:
http://localhost/SmartTransducerServices/build/web/WEB-INF/wsdl/SmartTransducerServices?wsdl


When I add web service in rumtime, the error
information was generated as follows:
 
Approach 1: Add service using local wsdl file
C:/Documents and Settings/Eugene
Song/SmartTransducerServices/web/WEB-INF/wsdl/SmartTransducerServices.wsdl
The error information is as foloows:

http://localhost:8080/SmartTransducerServices/SmartTransducerServices?WSDL
Start file:///C:\Documents and Settings\Eugene
Song\SmartTransducerServices\web\WEB-INF\wsdl\SmartTransducerServices.wsdl
07/21/2006 09:17:09: Parsing WSDL. Please wait ..WSDL
- file:/C:/Documents and Settings/Eugene
Song/SmartTransducerServices/web/WEB-INF/wsdl/SmartTransducerServices.wsdl
07/21/2006 09:17:09: Finished parsing WSDL. 07/21/2006
09:17:20: Starting web service client creation...
07/21/2006 09:17:27: Error occured while creating the
proxy!


Approach 2: Add service using
http://localhost/SmartTransducerServices/build/web/WEB-INF/wsdl/SmartTransducerServices?wsdl
The error information is as follows:

Start
http://localhost:8080/SmartTransducerServices/SmartTransducerServices?WSDL
07/21/2006 09:16:27: Parsing WSDL. Please wait ..WSDL
-
http://localhost:8080/SmartTransducerServices/SmartTransducerServices?WSDL
07/21/2006 09:16:28: Error Parsing WSDL. Please see
the log file for details. Exception = modeler error:
invalid entity name: "ReadServiceRequest" (in
namespace: "http://localhost/SmartTransducerServices")
End

What is problem? How to fix it? Thank you so much.
Regards,

Yuyin


--- Jitendra Kotamraju <Jitendra.Kotamraju_at_Sun.COM>
wrote:

> Can you check whether you are using jax-rpc or
> jax-ws. I think NetBean
> 5.5 beta has a good support for jax-ws.
>
> http://testwww.netbeans.org/kb/55/websvc-jax-ws.html
>
> Jitu
>
> yuyin Song wrote:
>
> >Hi All,
> >
> >I use the existed WSDL file to generate web
> services
> >using NetBean 5.0. Everything is good for
> generating
> >web services. When I add web services, there is a
> >error that is "Error occured while creating the
> >proxy!".
> >What is problem for proxy? How to set up proxy and
> fix
> >it?
> >Thanks,
> >
> >Eugene
> >
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam? Yahoo! Mail has the best spam
> protection around
> >http://mail.yahoo.com
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> users-unsubscribe_at_jax-ws.dev.java.net
> >For additional commands, e-mail:
> users-help_at_jax-ws.dev.java.net
> >
> >
> >
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail:
> users-help_at_jax-ws.dev.java.net
>
>



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com