Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » get a error when use the web service explorer
get a error when use the web service explorer [message #509728] Mon, 25 January 2010 08:50 Go to next message
grid.qian  is currently offline grid.qian Friend
Messages: 47
Registered: July 2009
Member
I have a jboss server and juddi v3 installed on it.
I can access to the web service from juddi:
http://localhost:8080/juddiv3/services/inquiry?wsdl in IE or firefox.

But when I use the web service exploer in eclipse, I can't access to it.
At first time, it no respond for a long long time. Then I close it and reopen it.
It can display a node in the wsdl root, but when I click on the UDDI service element, no binding display in the left windows and give a error as below in
the status panel.
I know maybe there is a error in the juddi inquiry web service wsdl, but the IE or FIREFOX can display the web service. But the web service explorer can't.
Is this a issue? or just ability limit?

Thanks
Grid


IWAB0380E Errors were encountered while validating XML schemas.
XSD: The location 'http://localhost:8080/juddiv3/services/inquiry?wsdl&resource=uddi_v3policy.xsd' has not been resolved because the import is unused
XSD: There is no xmlns declaration for namespace 'urn:uddi-org:policy_v3'
XSD: The location 'http://localhost:8080/juddiv3/services/inquiry?wsdl&resource=uddi_v3policy_instanceParms.xsd' has not been resolved because the import is unused
XSD: There is no xmlns declaration for namespace 'urn:uddi-org:policy_v3_instanceParms'
XSD: The location 'http://www.w3.org/2001/xml.xsd' has not been resolved because the import is unused
XSD: The location 'http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd' has not been resolved because the import is unused
XSD: Element reference 'http://www.w3.org/2000/09/xmldsig##Signature' is unresolved
XSD: Attribute reference 'http://www.w3.org/XML/1998/namespace#lang' is unresolved
XSD: The base type 'http://www.w3.org/2001/XMLSchema#string' must be complex to support complex content
XSD: The base type must be the content type
XSD: The enumeration facet is not permitted in a type based on 'http://www.w3.org/2001/XMLSchema#string'
XSD: The enumeration facet is not permitted in a type based on 'http://www.w3.org/2001/XMLSchema#string'
XSD: The enumeration facet is not permitted in a type based on 'http://www.w3.org/2001/XMLSchema#string'
XSD: The enumeration facet is not permitted in a type based on 'http://www.w3.org/2001/XMLSchema#string'
XSD: The enumeration facet is not permitted in a type based on 'http://www.w3.org/2001/XMLSchema#string'




And in a debug workspace, I can get the error:

2010-01-25 16:43:00.031::WARN:  ERROR:  /wse/wsdl/actions/OpenWSDLActionJSP.jsp
java.lang.NullPointerException
	at org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLServiceElement.buildModel(WSDLServiceElement.java:84)
	at org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.WSDLElement.buildModel(WSDLElement.java:423)
	at org.eclipse.wst.ws.internal.explorer.platform.wsdl.actions.OpenWSDLAction.run(OpenWSDLAction.java:74)
	at org.eclipse.wst.ws.internal.explorer.platform.engine.ActionEngine.executeAction(ActionEngine.java:221)
	at org.eclipse.wst.ws.internal.explorer.platform.actions.Action.execute(Action.java:111)
	at org.eclipse.wst.ws.internal.explorer.platform.actions.Action.execute(Action.java:105)
	at org.apache.jsp.wsdl.actions.OpenWSDLActionJSP_jsp._jspService(OpenWSDLActionJSP_jsp.java:108)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.eclipse.equinox.jsp.jasper.JspServlet.service(JspServlet.java:112)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:318)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:380)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:880)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:748)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:219)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)




Re: get a error when use the web service explorer [message #510866 is a reply to message #509728] Thu, 28 January 2010 21:20 Go to previous messageGo to next message
Keith Chong is currently offline Keith ChongFriend
Messages: 64
Registered: July 2009
Member
Not sure if you tried this from what you described, but if you want to interact with a UDDI registry, use the UDDI page of the Web Services Explorer. There, you can enter the required URL.
Re: get a error when use the web service explorer [message #510894 is a reply to message #510866] Fri, 29 January 2010 03:22 Go to previous messageGo to next message
grid.qian  is currently offline grid.qian Friend
Messages: 47
Registered: July 2009
Member
Thank you for your reply!

I just want to test the web service explorer. I use all kinds of url of web service in my server to test it. The web service explorer can works for many of them, but when I tested and entered:
http://localhost:8080/juddiv3/services/inquiry?wsdl
I can't open the wsdl in the web service explorer and get the second error in the console of my eclipse. After a long long time waiting, I has to close the web service explorer.Then reopen it, and get the first error in the web service explorer.

Sorry for my english. Make sense?
Re: get a error when use the web service explorer [message #511059 is a reply to message #510894] Fri, 29 January 2010 11:34 Go to previous messageGo to next message
Mark Hutchinson is currently offline Mark HutchinsonFriend
Messages: 53
Registered: July 2009
Member
grid.qian wrote:
> Thank you for your reply!
>
> I just want to test the web service explorer. I use all kinds of url of
> web service in my server to test it. The web service explorer can works
> for many of them, but when I tested and entered:
> http://localhost:8080/juddiv3/services/inquiry?wsdl
> I can't open the wsdl in the web service explorer and get the second
> error in the console of my eclipse. After a long long time waiting, I
> has to close the web service explorer.Then reopen it, and get the first
> error in the web service explorer.
> Sorry for my english. Make sense?


What does the WSDL at
http://localhost:8080/juddiv3/services/inquiry?wsdl look like? Could
you attach it?

As Keith said, the Web Services explorer does have support for
interacting with UDDI registries. If you want to find or publish
services to a UDDI registry the way to do this would be to use the UDDI
page (not the WSDL page like you seem to be doing). Click on the "UDDI
Page" icon in the top right, then "UDDI Main" in the navigator. Then
enter your inquiry URL (probably
http://localhost:8080/juddiv3/services/inquiry) and press "Go".
Re: get a error when use the web service explorer [message #511115 is a reply to message #511059] Fri, 29 January 2010 23:05 Go to previous messageGo to next message
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 495
Registered: July 2009
Senior Member
When we try the Inquiry URL (http://localhost:8080/juddiv3/services/inquiry) we get an exception like this... Any other ideas?

16:02:59,434 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception
javax.xml.rpc.soap.SOAPFaultException: Endpoint {urn:uddi-org:v3_service}UDDI_Inquiry_Port does not contain operation meta data for: {urn:uddi-org:api_v2}find_service
at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.exceptionToFa ultMessage(SOAPFaultHelperJAXRPC.java:189)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaul tMessage(SOAPFaultHelperJAXWS.java:183)
at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFau ltMessageFromException(SOAP11BindingJAXWS.java:102)
at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonS OAPBinding.java:650)
at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(Servi ceEndpointInvoker.java:283)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(R equestHandlerImpl.java:468)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(Re questHandlerImpl.java:293)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHa ndlerImpl.java:203)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpReques t(RequestHandlerImpl.java:129)
at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service (AbstractEndpointServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Repl yHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invok e(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCo ntextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentVa lve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentVa lve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invok e(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:447)
at java.lang.Thread.run(Thread.java:619)
Re: get a error when use the web service explorer [message #511291 is a reply to message #511059] Mon, 01 February 2010 06:19 Go to previous messageGo to next message
grid.qian  is currently offline grid.qian Friend
Messages: 47
Registered: July 2009
Member
Hi Mark,
Thank you very much!
The wsdl is as below.
Yes, I know we should use uddi page of the web service explorer to access to the uddi repository. But I think the wsdl is a web service too. We can use it to access uddi inquery web service.

Grid

<definitions targetNamespace="urn:uddi-org:v3_service">
−
<documentation>
WSDL service definition for UDDI 3.0.2 specification
</documentation>
<import location="http://localhost:8080/juddiv3/services/inquiry?wsdl&resource=uddi_vs_v3_binding.wsdl" namespace="urn:uddi-org:vs_v3_binding"/>
<import location="http://localhost:8080/juddiv3/services/inquiry?wsdl&resource=uddi_vscache_v3_binding.wsdl" namespace="urn:uddi-org:vscache_v3_binding"/>
<import location="http://localhost:8080/juddiv3/services/inquiry?wsdl&resource=uddi_sub_v3_binding.wsdl" namespace="urn:uddi-org:sub_v3_binding"/>
<import location="http://localhost:8080/juddiv3/services/inquiry?wsdl&resource=uddi_repl_v3_binding.wsdl" namespace="urn:uddi-org:repl_v3_binding"/>
<import location="http://localhost:8080/juddiv3/services/inquiry?wsdl&resource=uddi_api_v3_binding.wsdl" namespace="urn:uddi-org:api_v3_binding"/>
<import location="http://localhost:8080/juddiv3/services/inquiry?wsdl&resource=uddi_subr_v3_binding.wsdl" namespace="urn:uddi-org:subr_v3_binding"/>
<import location="http://localhost:8080/juddiv3/services/inquiry?wsdl&resource=uddi_custody_v3_binding.wsdl" namespace="urn:uddi-org:custody_v3_binding"/>
−
<service name="UDDI_Service">
−
<port binding="uddi_subr_v3_binding:UDDI_SubscriptionListener_SoapBinding" name="UDDI_SubscriptionListener_Port">
<soap:address location="http://localhost:8080/juddiv3/services/subscription-listener"/>
</port>
−
<port binding="uddi_api_v3_binding:UDDI_Inquiry_SoapBinding" name="UDDI_Inquiry_Port">
<soap:address location="http://localhost:8080/juddiv3/services/inquiry"/>
</port>
−
<port binding="uddi_custody_v3_binding:UDDI_CustodyTransfer_SoapBinding" name="UDDI_Custody_Port">
<soap:address location="http://localhost:8080/juddiv3/services/custody-transfer"/>
</port>
−
<port binding="uddi_vscache_v3_binding:UDDI_ValueSetCaching_SoapBinding" name="UDDI_ValueSetCaching_Port">
<soap:address location="http://localhost:8080/juddiv3/services/valuesetcaching"/>
</port>
−
<port binding="uddi_api_v3_binding:UDDI_Security_SoapBinding" name="UDDI_Security_Port">
<soap:address location="http://localhost:8080/juddiv3/services/security"/>
</port>
−
<port binding="uddi_api_v3_binding:UDDI_Publication_SoapBinding" name="UDDI_Publication_Port">
<soap:address location="http://localhost:8080/juddiv3/services/publish"/>
</port>
−
<port binding="uddi_sub_v3_binding:UDDI_Subscription_SoapBinding" name="UDDI_Subscription_Port">
<soap:address location="http://localhost:8080/juddiv3/services/subscription"/>
</port>
−
<port binding="uddi_repl_v3_binding:UDDI_Replication_SoapBinding" name="UDDI_Replication_Port">
<soap:address location="http://localhost:8080/juddiv3/services/replication"/>
</port>
−
<port binding="uddi_vs_v3_binding:UDDI_ValueSetValidation_SoapBinding" name="UDDI_ValueSetValidation_Port">
<soap:address location="http://localhost:8080/juddiv3/services/valuesetvalidation"/>
</port>
</service>
</definitions>
Re: get a error when use the web service explorer [message #511566 is a reply to message #511291] Tue, 02 February 2010 04:08 Go to previous messageGo to next message
grid.qian  is currently offline grid.qian Friend
Messages: 47
Registered: July 2009
Member
And someone tell me the web service explorer only support uddi2, not uddi3, is this true? And this issue is caused by this?
Re: get a error when use the web service explorer [message #516270 is a reply to message #511566] Tue, 23 February 2010 13:07 Go to previous messageGo to next message
grid.qian  is currently offline grid.qian Friend
Messages: 47
Registered: July 2009
Member
Any comments?
If this is a issue, I will create a bug for it.
Re: get a error when use the web service explorer [message #517023 is a reply to message #511566] Thu, 25 February 2010 18:51 Go to previous messageGo to next message
Mark Hutchinson is currently offline Mark HutchinsonFriend
Messages: 53
Registered: July 2009
Member
grid.qian wrote:
> And someone tell me the web service explorer only support uddi2, not
> uddi3, is this true? And this issue is caused by this?

I think this might be true. The web services explorer depends on UDDI4J
which I think only supports UDDI v2.

http://uddi4j.sourceforge.net/doc.html
Re: get a error when use the web service explorer [message #517076 is a reply to message #517023] Fri, 26 February 2010 05:40 Go to previous message
grid.qian  is currently offline grid.qian Friend
Messages: 47
Registered: July 2009
Member
got it. Thanks Mark!
Previous Topic:JBoss 5.1 Integration in Galileo
Next Topic:persistence.xml editor doesn't work
Goto Forum:
  


Current Time: Tue Dec 23 00:57:00 GMT 2014

Powered by FUDForum. Page generated in 0.01986 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software