On Feb 9, 2005, at 3:08 PM, Viens, Stephen wrote:
Geir, is this what you're seeing in a/the juddi.log file?
I can't find a juddi.log file.
Here's what I'm doing - I'm using latest cvs/svn of scout and juddi as my jaxr implementation for the J2EE TCK for geronimo. I'm doing the simplest thing possible right now - just making a jaxr connection factory available via JNDI to the test suite. I'm not doing any configuration or -ish for either scout or juddi. Am happy to do anything to provide more insight.
It would help to see the request message (in XML) if that's possible. Can you try making your query to the IBM registry through a TCP Monitor (such as the one that comes with Axis?)
I can certainly try - I'm very new to WS, so I'm pretty ignorant of basic development practice, so bear w/ me as I come up to speed. Any hints to get more useful information out of what I am doing is appreciated, and I'm off now to figure out where to get and how to use the TCP monitor.
Thanks again
geir
Steve
-----Original Message----- From: Geir Magnusson Jr. [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 2:46 PM To: [email protected] Subject: Re: "Client error" (newbie question)
On Feb 9, 2005, at 10:36 AM, Anil Saldhana wrote:
Geir, looks like you are using the Crimson parser that comes with the JDK. You should be using Xerces. The way to do is to set a System property "java.endorsed.dirs" that points to your xerces jars.
Ok - I got xerces working but I seem to have the same thing :
[java]
[EMAIL PROTECTED] 1
[java] ?Org has users=false
[java] Telephone=123-1234
[java] Telephone=123-1234
[java] Telephone=123-1234
[java] Method:save_business: ENlength=1
[java] AxisFault
[java] faultCode: Client
[java] faultSubcode:
[java] faultString: Client Error
[java] faultActor:
[java] faultNode:
[java] faultDetail:
[java] {urn:uddi-org:api_v2}dispositionReport:<result
errno="10500"><errInfo errCode="E_fatalError">E_fatalError (10500)
Serious technical error has occurred while processing the request.
cvc-complex-type.4: Attribute 'businessKey' must appear on element
'businessEntity'.</errInfo></result>
[java]
[java] Client Error
[java] at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.j a
va:221)
[java] at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.ja v
a:128)
[java] at
org.apache.axis.encoding.DeserializationContext.endElement(Deserializat i
onContext.java:1077)
[java] at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
[java] at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
[java] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi s
patcher.dispatch(Unknown Source)
[java] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn o
wn Source)
[java] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XMLParser.parse(Unknown
Source)
[java] at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[java] at javax.xml.parsers.SAXParser.parse(Unknown Source)
[java] at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationCo n
text.java:225)
[java] at
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
[java] at
org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
[java] at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.jav a
:723)
[java] at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:94)
[java] at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy. j
ava:32)
[java] at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
[java] at
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
[java] at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)
[java] at
org.apache.axis.client.Call.invokeEngine(Call.java:2737)
[java] at org.apache.axis.client.Call.invoke(Call.java:2720)
[java] at org.apache.axis.client.Call.invoke(Call.java:1756)
[java] at
org.apache.juddi.proxy.AxisTransport.send(AxisTransport.java:59)
[java] at
org.apache.juddi.proxy.RegistryProxy.execute(RegistryProxy.java:371)
[java] at
org.apache.juddi.AbstractRegistry.saveBusiness(AbstractRegistry.java:
582)
[java] at
org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.executeOperat i
on(BusinessLifeCycleManagerImpl.java:459)
[java] at
org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.saveOrganizat i
ons(BusinessLifeCycleManagerImpl.java:321)
Anil
--- "Geir Magnusson Jr." <[EMAIL PROTECTED]> wrote:
Ok - I'm a real newbie, and don't grok how one debugs things here.
I'm testing against IBMs public testregistry (is there a better one?). I have the following problem all over the place. I'm using the latest CVS of jUDDI and Scout. Can someone spend 2 min to describe what is going on, how I should start figuring out what the error is?
[java] Method:save_business: ENlength=1 [java] AxisFault [java] faultCode: Client [java] faultSubcode: [java] faultString: Client Error [java] faultActor: [java] faultNode: [java] faultDetail: [java] {urn:uddi-org:api_v2}dispositionReport:<result errno="10500"><errInfo errCode="E_fatalError">E_fatalError (10500) Serious technical error has occurred while processing the request. cvc-complex-type.4: Attribute 'businessKey' must appear on element 'businessEntity'.</errInfo></result> [java] [java] Client Error [java] at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder. j a
va:221) [java] at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.j a v
a:128) [java] at
org.apache.axis.encoding.DeserializationContext.endElement(Deserializa t iorg.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712)
onContext.java:1077) [java] at
org.apache.crimson.parser.Parser2.content(Parser2.java:1963)[java] at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)[java] at
org.apache.crimson.parser.Parser2.content(Parser2.java:1963)[java] at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)[java] at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)[java] at
org.apache.crimson.parser.Parser2.parse(Parser2.java:337)[java] at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)[java] at
javax.xml.parsers.SAXParser.parse(SAXParser.java:345)[java] at
[java] at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationC o norg.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
text.java:225) [java] at
org.apache.axis.Message.getSOAPEnvelope(Message.java:424)[java] at
[java] at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.ja v aorg.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:94)
:723) [java] at
[java] at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy . jorg.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
ava:32) [java] at
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)[java] at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)[java] at
org.apache.axis.client.Call.invokeEngine(Call.java:2737)[java] at
org.apache.juddi.proxy.AxisTransport.send(AxisTransport.java:59)[java] at org.apache.axis.client.Call.invoke(Call.java:2720) [java] at org.apache.axis.client.Call.invoke(Call.java:1756) [java] at
org.apache.juddi.proxy.RegistryProxy.execute(RegistryProxy.java:371)[java] at
org.apache.juddi.AbstractRegistry.saveBusiness(AbstractRegistry.java:[java] at
582) [java] at
org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.executeOpera t i
on(BusinessLifeCycleManagerImpl.java:459) [java] at
org.apache.ws.scout.registry.BusinessLifeCycleManagerImpl.saveOrganiza t i
ons(BusinessLifeCycleManagerImpl.java:321)
-- Geir Magnusson Jr +1-203-665-6437 [EMAIL PROTECTED]
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
-- Geir Magnusson Jr +1-203-665-6437 [EMAIL PROTECTED]
-- Geir Magnusson Jr +1-203-665-6437 [EMAIL PROTECTED]
