This is NOT a soap problem. This is a wstk problem, but since I dont
seem to be getting any response on the wstk discussion list I thought
I'd try my luck here.
Apologies if this is the wrong place for this message and I'd
appreciate any help/pointers on where to go for help...
Has anyone got wstk2.3 running on linux ?
I am running wstk2.3 on linux RH7.0 with tomcat and accessing the IBM
test uddi registry.
My problem is that I am unable to publish a service implementation
using the wstk api. All the other functions work - publish/unpublish a
service provider, deploy/undeploy an application, find/list etc.
I tried accessing the uddi registry directly using the uddi4j api and
even that works.
Here is a sample error output when I try to run the addressbook demo
with the command AddressBookDemo -run client -role sp -demo pub:
[STEP 1] Publish [create or update] service provider...
Publishing service provider >> IBM WSTK Demo <<...
Service provider was published.
[STEP 2] Publish [create or update] service implementation...
Deploying >> urn:AddressFetcher <<...
Service deployed.
Finding service provider >> IBM WSTK Demo <<...
Publishing service implementation >>
http://localhost:8080/addressbook_services/
AddressBook.wsdl <<...
>>> EXCEPTION WHILE RUNNING DEMO: [ServiceImplementationExample -pub]
<<<
com.ibm.wstk.service.registry.ServiceRegistryProxyException: Could
obtain list or all service interfaces.
------------------------------------------------------------------------------
com.ibm.wstk.service.registry.ServiceRegistryProxyException: Could
not
obtain
list of all service interfaces.
------------------------------------------------------------------------------
Nested exception is:
java.lang.NullPointerException
at
com.ibm.wstk.service.registry.ServiceRegistryProxy.findAllServiceInterfaces(ServiceRegistryProxy.java:1128)
at
com.ibm.wstk.service.registry.ServiceRegistryProxy.findServiceInterfaces(ServiceRegistryProxy.java:1040)
at
com.ibm.wstk.service.registry.ServiceRegistryProxy.updateTModelKeys(ServiceRegistryProxy.java:2016)
at
com.ibm.wstk.service.registry.ServiceRegistryProxy.publish(ServiceRegistryProxy.java:399)
at
ServiceImplementationExample.publishService(ServiceImplementationExample.java:264)
at
ServiceImplementationExample.publish(ServiceImplementationExample.java:183)
at
ServiceImplementationExample.main(ServiceImplementationExample.java:82)
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/