You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Roman Rorat <ro...@martquest.com> on 2000/11/28 04:45:05 UTC
UDDI
Hi,
Has anybody tried to connect to UDDI registry
(http://www-3.ibm.com/services/uddi/api.html#Services) ? I have and failed.
I have soaped the 'find_tModel' method, as defined in the
http://www-3.ibm.com/services/uddi/api.html#Services, and got a
faultCode=SOAP-ENV:Protocol in return.
My client implementation is a basic verity of a SOAP client, the only thing
I was not sure of was the 'setTargetObjectURI'. The
http://www-3.ibm.com/services/uddi/api.html#Services does not specify the
target object uri other than the
http://www.ibm.com/services/uddi/inquiryapi. The following is a summary of
my client code.
Call call = new Call ();
call.setTargetObjectURI ("http://www.ibm.com/services/uddi/inquiryapi");
// I was not sure if this uri was correct
call.setMethodName ("find_tModel");
call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
Vector params = new Vector ();
params.addElement (new Parameter("name", String.class,
"simple.services", null));
call.setParams (params);
Response resp = call.invoke (new URL
("http://www.ibm.com/services/uddi/inquiryapi"), "" );
Thanks. Roman