| From | Sent On | Attachments |
|---|---|---|
| Lule Chen | Jul 21, 2005 8:36 pm | |
| Farrukh Najmi | Jul 22, 2005 6:29 am | |
| Tony Graham | Jul 22, 2005 9:02 am |
| Subject: | Re: Got exception for soap inquire message | |
|---|---|---|
| From: | Farrukh Najmi (Farr...@Sun.COM) | |
| Date: | Jul 22, 2005 6:29:27 am | |
| List: | net.java.dev.jwsdp.users | |
Lule Chen wrote:
Hi, when I sent the following soap request to my installation site http://<machine_node>:8080/soar/registry/soap <http://%3Cmachine_node%3E:8080/soar/registry/soap>:
Hi Lule,
Above URL is to the ebXML Registry 3.0 SOAP interface not the UDDI 3.0 SOAP interface. Try specifying:
http://<machine_node>:8080/soar/uddi/inquire <http://%3Cmachine_node%3E:8080/soar/uddi/inquire>
Good luck.
-- Regards, Farrukh
< SOAP-ENV:Envelope xmlns:SOAP-ENV =" http://schemas.xmlsoap.org/soap/envelope/ ">< SOAP-ENV:Body >< find_service maxRows =" 1 " generic =" 2.0 " xmlns =" urn:uddi-org:api_v2 ">< name > AuthenticationService </ name ></ find_service ></ SOAP-ENV:Body ></ SOAP-ENV:Envelope >
I got the following exceptions:
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>urn:oasis:names:tc:ebxml-regrep:rs:exception:javax.xml.registry.JAXRException</faultcode><faultstring>Unable to Unmarshall request</faultstring><detail><rs:StackTrace xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0">javax.xml.registry.JAXRException: Unable to Unmarshall request
at org.freebxml.omar.common.BindingUtility.getRequestObject(BindingUtility.java:355)
at org.freebxml.omar.server.interfaces.soap.RegistrySOAPServlet.onMessage(RegistrySOAPServlet.java:184)
at org.freebxml.omar.server.interfaces.common.SOAPServlet.doPost(SOAPServlet.java:207)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:709)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException: unexpected root element (uri:"urn:uddi-org:api_v2", local:"find_service"). Expected elements are <{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ServiceBinding>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ExternalIdentifier>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Notification>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Identifiable>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}User>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ExternalLink>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}EmailAddress>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ObjectRefList>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Value>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}RegistryPackage>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}AdhocQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Organization>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}SpecificationLink>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}RegistryObjectList>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}PostalAddress>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}UsageParameter>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Person>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}UsageDescription>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}TelephoneNumber>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ExtrinsicObject>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ClassificationScheme>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Classification>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}QueryExpression>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}RegistryObject>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Address>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}PersonName>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Description>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ValueList>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}AuditableEvent>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Association>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Registry>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}LocalizedString>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ObjectRef>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}InternationalString>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Slot>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}NotifyAction>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Federation>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Action>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Name>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Subscription>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}SlotList>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ClassificationNode>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Service>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0}RegistryResponse>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0}RegistryErrorList>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0}RegistryRequest>,<{urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0}RegistryError>,<{urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0}UndeprecateObjectsRequest>,<{urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0}RelocateObjectsRequest>,<{urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0}ApproveObjectsRequest>,<{urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0}DeprecateObjectsRequest>,<{urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0}AcceptObjectsRequest>,<{urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0}RemoveObjectsRequest>,<{urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0}SubmitObjectsRequest>,<{urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0}UpdateObjectsRequest>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}ServiceQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}FloatFilter>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}UserQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AuditableEventQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}IntegerFilter>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}ExternalLinkQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}RegistryQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}RegistryPackageQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}PersonQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}ResponseOption>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryRequest>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}ExtrinsicObjectQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}CompoundFilter>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}StringFilter>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}DateTimeFilter>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}OrganizationQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}NotificationQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}ExternalIdentifierQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}Filter>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}BooleanFilter>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}SubscriptionQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}ServiceBindingQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}FederationQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}ClassificationNodeQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AssociationQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}ClassificationQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}ClassificationSchemeQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}SpecificationLinkQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}AdhocQueryResponse>,<{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}RegistryObjectQuery>,<{urn:oasis:names:tc:ebxml-regrep:xsd:cms:3.0}CatalogContentResponse>,<{urn:oasis:names:tc:ebxml-regrep:xsd:cms:3.0}ValidateContentRequest>,<{urn:oasis:names:tc:ebxml-regrep:xsd:cms:3.0}ValidateContentResponse>,<{urn:oasis:names:tc:ebxml-regrep:xsd:cms:3.0}CatalogContentRequest>,<{urn:oasis:names:tc:SAML:1.0:protocol}Status>,<{urn:oasis:names:tc:SAML:1.0:protocol}StatusDetail>,<{urn:oasis:names:tc:SAML:1.0:protocol}StatusMessage>,<{urn:oasis:names:tc:SAML:1.0:protocol}Query>,<{urn:oasis:names:tc:SAML:1.0:protocol}StatusCode>,<{urn:oasis:names:tc:SAML:1.0:protocol}AssertionArtifact>,<{urn:oasis:names:tc:SAML:1.0:protocol}Response>,<{urn:oasis:names:tc:SAML:1.0:protocol}Request>,<{urn:oasis:names:tc:SAML:1.0:protocol}AuthorizationDecisionQuery>,<{urn:oasis:names:tc:SAML:1.0:protocol}SubjectQuery>,<{urn:oasis:names:tc:SAML:1.0:protocol}AttributeQuery>,<{urn:oasis:names:tc:SAML:1.0:protocol}AuthenticationQuery>,<{urn:oasis:names:tc:SAML:1.0:protocol}RespondWith>,<{urn:oasis:names:tc:SAML:1.0:assertion}Evidence>,<{urn:oasis:names:tc:SAML:1.0:assertion}Conditions>,<{urn:oasis:names:tc:SAML:1.0:assertion}AuthenticationStatement>,<{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmation>,<{urn:oasis:names:tc:SAML:1.0:assertion}DoNotCacheCondition>,<{urn:oasis:names:tc:SAML:1.0:assertion}AuthorityBinding>,<{urn:oasis:names:tc:SAML:1.0:assertion}SubjectStatement>,<{urn:oasis:names:tc:SAML:1.0:assertion}AssertionIDReference>,<{urn:oasis:names:tc:SAML:1.0:assertion}ConfirmationMethod>,<{urn:oasis:names:tc:SAML:1.0:assertion}AttributeDesignator>,<{urn:oasis:names:tc:SAML:1.0:assertion}NameIdentifier>,<{urn:oasis:names:tc:SAML:1.0:assertion}Subject>,<{urn:oasis:names:tc:SAML:1.0:assertion}Condition>,<{urn:oasis:names:tc:SAML:1.0:assertion}Advice>,<{urn:oasis:names:tc:SAML:1.0:assertion}AttributeStatement>,<{urn:oasis:names:tc:SAML:1.0:assertion}Assertion>,<{urn:oasis:names:tc:SAML:1.0:assertion}Attribute>,<{urn:oasis:names:tc:SAML:1.0:assertion}Audience>,<{urn:oasis:names:tc:SAML:1.0:assertion}AuthorizationDecisionStatement>,<{urn:oasis:names:tc:SAML:1.0:assertion}Action>,<{urn:oasis:names:tc:SAML:1.0:assertion}Statement>,<{urn:oasis:names:tc:SAML:1.0:assertion}SubjectLocality>,<{urn:oasis:names:tc:SAML:1.0:assertion}AudienceRestrictionCondition>]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:298)
at org.oasis.ebxml.registry.bindings.cms.impl.runtime.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:144)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:131)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:99)
at org.freebxml.omar.common.BindingUtility.getRequestObject(BindingUtility.java:352)
... 32 more
</rs:StackTrace></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
I tried my request on http://uddi.microsoft.com/inquire and got "nice" response back. I badly need your help. Did I missed any thing for my installation, or did something wrong for the configuration?
Louis





