Hi,

I think there might have been a miswording there. Wsdl2java does not call 
wsdlmerge itself. Wsdlmerge is a utility that we included because we found 
that putting together the whole wsdl was error-prone, one of the 
conventions we adopted was having only one portType in the wsdl given to 
wsdl2java. If the wsdl you are passing in has no portTypes or more than 
one portTypes then you will get this message. The documentation for 
wsdlmerge is here:

http://ws.apache.org/muse/docs/2.0.0/manual/tools/wsdlmerge.html

If you have any other questions, please feel free to post your wsdls here 
and I can take a look at them.

Thanks,
Andrew

Andrew Eberbach
Autonomic Computing
(919) 254-2645
T/L: 444-2645
[EMAIL PROTECTED]



Daniel Jemiolo/Durham/[EMAIL PROTECTED] 
11/21/2006 09:49 AM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: OnePortPerWSDL Problem






I'm a little confused as to which problem you're having. WSDL2Java uses 
the WSDLMerge tool as part of its work, so your original shopping cart 
WSDL can use imports; it's just that the final web application that is 
generated will have a WSDL that is 'merged'. So... you should be able to 
gen code without manually merging the WSDLs yourself, and if you can't I'd 

like to help you with that problem as well.

The one port per WSDL is a separate issue - perhaps you can send the WSDL 
you're using so I can point out specific problems?

thanks,
Dan


"Kensky Schulz" <[EMAIL PROTECTED]> wrote on 11/21/2006 
05:00:25 AM:

> I am implementing a WSRF Primer SimpleShoppingCart example from OASIS.
> While code generation from wsdl2java I managed to resolve schema and
> wsdl dependencies. But, finally stuck at this error OnePortPerWSDL, so
> what I am doing now is to merge (WSRP,RL..) specification port types
> into one, I know its not a correct way. but em still gettingthe same
> error. The error log is pasted below,
> 
> " SEVERE: [ID = 'CodeGenFailed'] Code generation failed, see the
> exception informa
>   tion below.
> 
>   An exception was caught: [ID = 'OnePortPerWSDL'] The resource
> inspector can only
>   process WSDLs with one port element. The WSDL can have multiple 
portTypes, but
>   only one concrete service and port. "
> 
> help...
> 
> Thanks in advance
> Kensky
> 
> Note: Via nabble.com I can access MUSE-DEV list but couldn't reach to
> MUSE-USER. Is there any way to access MUSE-USER through any other
> web-list interface like nabble.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to