Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[swordfish-dev] Registry problems?

I've just gotten started with Swordfish. Plenty exciting, and great work. 

I seem to be having a problem getting a consumer to work with dynamic
endpoint, and it looks it may like a problem with the registry. Static
endpoint works just fine. 

I have my registry (in both the target definition and the launch
configurations) as

When I upload the WSDL to the registry via the context menu, the WSDL file
gets put into that folder as expected. The console output looks like this:

Jan 9, 2010 7:19:39 PM org.eclipse.swordfish.registry.WSDLServlet doPut
INFO: Received PUT request:

Fine so far. Then I go to http://localhost:9091/registry/wsdl and see the
PortType and Service as expected. But if I click on those links, they go to
http://localhost:9001/registry/wsdl/wsdl/TestThis.wsdl (note, wsdl twice)
and of course there's nothing there.

So that's one problem, but there's more. When I start the provider, I see a
stack trace that begins with:

Jan 9, 2010 7:11:09 PM org.eclipse.swordfish.registry.FileBasedWSDLManager
WARNING: Unable to load file C:\users\terry\swordfish\repository\wsdl C:\users\terry\swordfish\repository\wsdl
(Access is denied)

So I'm not sure what the actual root cause is, but when I run the consumer
in its own launch config (registry bundle turned off on this one) I see

WARNING: Couldn't get an endpoint for the service:
Jan 9, 2010 7:27:05 PM
SEVERE: An exception occured while trying to resolve service name via
supplied wsdls 
org.eclipse.swordfish.core.SwordfishException: Error resolving endpoint for
the interface + [{}TestThis] - no suitable
endpoints have been found

and this

Jan 9, 2010 7:27:05 PM org.apache.servicemix.nmr.core.ChannelImpl
WARNING: Error processing exchange [
  id:        4d1a12e2-f94d-4339-8f12-1b0e58c5a080
  mep:       InOut
  status:    Active
  role:      Consumer
TestThis, SERVICE_NAME={}TestThis_Service}]
  operation: {}NewOperation
  In: [

I'm not sure if the WSDL file is supposed to be in the repository or the
repository\wsdl folder. I copied it manually so it'd be in both; the links
worked in the repository web interface then but it didn't affect anything

Is any of this ringing a bell for anybody? I'm doing this stuff on Vista and
using java 1.6. I can attach full traces and source if it would be helpful.

Thanks much,

Back to the top