Freeman,

thanks, let me know what you find out on the loadWSDL.

-gopal


Freeman Fang wrote:
> 
> Hi Gopal,
> 
> Usually I use javetowsdl commandline tool to generate wsdl from the java 
> code.
> 
> I will investigate the LoadWSDL issue.
> 
> Best Regards
> 
> Freeman
> 
> Gopal Narra wrote:
>> Hi Freeman,
>>
>> I think I was not clear on my communication, If I just deploy the cxf-se
>> on
>> the bus, The WSDL is not getting generated from the POJO class. (Tested
>> by
>> going to JMX Console and looking at the Internal Endpoint and run the
>> LoadWSDL() returns only the XML header and no WSDL)
>>
>> The main reason I am not using the cxf-bc is because wsdl is a required
>> attribute and I think I cannot configure the cxf-bc because the WSDL is
>> auto
>> generated from cxf-se. How do you configure such a combination?
>>
>> thanks
>> -gopal
>>
>>
>> Freeman Fang wrote:
>>   
>>> Hi Gopal,
>>> If you want to use cxf-se with http component, you need use new endpoint 
>>> definition of http component to specify useJbiWrapper="true"
>>> Something  like
>>> <http:soap-consumer useJbiWrapper="true" ...
>>>
>>> Also, you can try to  use cxf bc with cxf se.
>>>
>>> Best Regards
>>> Freeman
>>>
>>> Gopal Narra wrote:
>>>     
>>>> All,
>>>>
>>>> I am having problems getting cxf-se to expose a pojo on the bus. I am a
>>>> newbie and any help will be much appreciated.
>>>>
>>>> Environment: Windows XP, JDK 1.6.03, Servicemix 3.2
>>>>
>>>> 1) I created Annotated POJO class called MathService.java, this is in
>>>> the
>>>> src of the math folder.
>>>>
>>>> 2) This pojo is compiled into math.jar
>>>>
>>>> 3) In the mathservice-cxf-su\src\main\resources\xbean.xml, I expose the
>>>> MathService as a CXF endpoint.
>>>>
>>>> 4) Created a HTTP BC and then SA for the Math Service.
>>>>
>>>> When I deploy the SA, the WSDL is not auto generated (JMX Console,
>>>> loadWSDL() returns nothing).
>>>>
>>>> Attaching all code for reference
>>>>
>>>> Thanks in advance
>>>> -gopal
>>>> http://www.nabble.com/file/p16210363/MathService-CXF.zip
>>>> MathService-CXF.zip 
>>>>   
>>>>       
>>>
>>>     
>>
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Java-First-servicemix-cxf-se-Problems-Questions.-tp16210363s12049p16275880.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to