Thanks for the suggestion.

Unfortunately I still see the problem running juddi 0.9rc4 on Tomcat 5.0.28 
with J2SE 1.4.2_09.

My client is running J2SE 1.5.0 still but this client works against the uddi 
registry at http://test.uddi.microsoft.com

Glenn
------------

I was having similar problems, so I decided to rollback tu 1.4.2, I could not 
been able to get juddi to run on 1.5. I was having problems similar but related 
to the message, something that the header should not be null, and I did not 
find what was the reason.

------------
Glenn wrote:<br><br>>Hi,<br>>I noticed a very similar issue to what I'm 
experiencing on this list 18 Jul 2005 'JAXR and authToken' but there were no 
replies to that message.<br>><br>>I'm running jUDDI 0.9rc4 on Tomcat 5.5.9 with 
MySQL 4.1.13. I've gotten the happyjuddi working and I'm able (through the 
console) to find publishers.<br>><br>>I've written a very simple java app 
(using J2SE 1.5.0_04 and JWSDP 1.6). When I try to find an organization by name 
the app throws an IllegalArgumentException<br>>Request looks like:<br>>POST 
/juddi/inquiry HTTP/1.1<br>>Content-Type: text/xml; 
charset=utf-8<br>>Content-Length: 403<br>>SOAPAction: ""<br>>Cache-Control: 
no-cache<br>>Pragma: no-cache<br>>User-Agent: Java/1.5.0_04<br>>Host: 
localhost:8080<br>>Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; 
q=.2<br>>Connection: keep-alive<br>><br>><?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><find_business
 xmlns="urn:uddi-org:api_v2" 
generic="2.0"><findQualifiers><findQualifier>sortByNameDesc</findQualifier></findQualifiers><name
 xml:lang="en">juddi</name><name 
xml:lang="en-US">juddi</name></find_business></SOAP-ENV:Body></SOAP-ENV:Envelope><br>><br>>And
 the RESPONSE looks like:<br>><br>>HTTP/1.1 200 OK<br>>Server: 
Apache-Coyote/1.1<br>>Content-Type: 
text/xml;charset=utf-8<br>>Transfer-Encoding: chunked<br>>Date: Fri, 19 Aug 
2005 14:05:49 GMT<br>><br>>180<br>><?xml version="1.0" 
encoding="UTF-8"?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>;<br>><soapenv:Body><br>><businessList
 generic="2.0" operator="jUDDI.org" 
xmlns="urn:uddi-org:api_v2"><br>><businessInfos/><br>></businessList><br>></soapenv:Body><br>></soapenv:Envelope><br>>0<br>><br>>The
  
Stack Trace:<br>>Exception in thread "main" 
java.lang.IllegalArgumentException<br>>at 
com.sun.xml.registry.uddi.bindings_v2.impl.runtime.UnmarshallerImpl.unmarshal(Unknown
 Source)<br>>at 
com.sun.xml.registry.common.util.MarshallerUtil.jaxbUnmarshalObject(Unknown 
Source)<br>>at com.sun.xml.registry.uddi.Processor.processResponseJAXB(Unknown 
Source)<br>>at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown 
Source)<br>>at com.sun.xml.registry.uddi.UDDIMapper.findOrganizations(Unknown 
Source)<br>>at 
com.sun.xml.registry.uddi.BusinessQueryManagerImpl.findOrganizations(Unknown 
Source)<br>>at com.sarnoff.uddi.Browser.findOrgByName(Browser.java:92)<br>>at 
com.sarnoff.uddi.Browser.main(Browser.java:340)<br>>Java Result: 
1<br>><br>>Does anyone understand the 180 and 0 surrounding the response body 
?<br>><br>>When I try use credentials I get a very similar issue<br>>The 
request looks well formatted but the response includes an authToken but again 
the body is surrounded by an
  
extraneous 1ad and 0.<br>><br>>RESPONSE<br>>HTTP/1.1 200 OK<br>>Server: 
Apache-Coyote/1.1<br>>Content-Type: 
text/xml;charset=utf-8<br>>Transfer-Encoding: chunked<br>>Date: Fri, 19 Aug 
2005 13:20:44 GMT<br>><br>>1ad<br>><?xml version="1.0" 
encoding="UTF-8"?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>;<br>><soapenv:Body><br>><authToken
 generic="2.0" operator="jUDDI.org" 
xmlns="urn:uddi-org:api_v2"><br>><authInfo>authToken:0C642BA0-10B4-11DA-ABA0-D4A5245F096F</authInfo><br>></authToken><br>></soapenv:Body><br>></soapenv:Envelope><br>>0<br>><br>>I'd
 appreciate any help in understanding this problem.<br>><br>>Thanks 
Glenn<br>><br>><br>><br>><br>>_______________________________________________<br>>Join
 Excite! - http://www.excite.com<br>>The most personalized portal on the 
Web!<br>><br>><br>><br>>  <br>><br>

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


Reply via email to