You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Niels Boem <me...@hotmail.com> on 2009/02/15 12:00:32 UTC

Generate Server Side Implementation based on WSDL

 
Hi mail group,
 
I have just started at a new job. My work includes maintaning our business
server (java based J2EE container)
 
Previously all our business components have been written first (straigth up POJO) and
then they have been rigistred to the Axis2 run-time envionrment using the AxisConfiguration API.
(e.g. we have never handled any configuration xml files / WSDL etc)
 
But this week I got the WSDL file for a business service that we are required to support. 
This means that we must either be able to generate the java classes directly based on the WSDL definitons, or 
to somehow configure the mapping between the standard WSDL data definitions into Java.
 
I'm pretty new to this so any help is greatly appreciated. But I cannot change the fact all the registration is 
done using the AxisConfiguration API, to change this would require to much work.
 
BR
 
Niels
 
 

_________________________________________________________________
Kolla mailen när du är på språng - skaffa Hotmail i mobilen!
http://windowslivemobile.msn.com/BrowserServiceHotmail.aspx?lang=SE-SE

RE: Generate Server Side Implementation based on WSDL

Posted by Niels Boem <me...@hotmail.com>.
 

Hi,

 

Many thanx! The tutorial really gave me a good start. 

 

But I need to ask some additional questions:

 

Is there any way to pass a reference to the service.xml file to the AxisConfiguration API or do I have to use add parameters?

 

When I generated the server code the package name became localhost. I guess that wsdl2java picked that up from the WSDL file and that 

it can be changed somehow?

 

How to define the endpoint name?

 

 

Again any help is greatly appreciated

 

BR

 

Niels

 

 

 


 


Date: Mon, 16 Feb 2009 05:03:08 +0530
Subject: Re: Generate Server Side Implementation based on WSDL
From: nandana.cse@gmail.com
To: axis-user@ws.apache.org

Hi Niels,
       This tutorial [1] will help you.

thanks,
nandana

[1] - http://wso2.org/node/2873



On Sun, Feb 15, 2009 at 4:30 PM, Niels Boem <me...@hotmail.com> wrote:


 
Hi mail group,
 
I have just started at a new job. My work includes maintaning our business
server (java based J2EE container)
 
Previously all our business components have been written first (straigth up POJO) and
then they have been rigistred to the Axis2 run-time envionrment using the AxisConfiguration API.
(e.g. we have never handled any configuration xml files / WSDL etc)
 
But this week I got the WSDL file for a business service that we are required to support. 
This means that we must either be able to generate the java classes directly based on the WSDL definitons, or 
to somehow configure the mapping between the standard WSDL data definitions into Java.
 
I'm pretty new to this so any help is greatly appreciated. But I cannot change the fact all the registration is 
done using the AxisConfiguration API, to change this would require to much work.
 
BR
 
Niels

 
 




Krama någon i vinter! Hitta kärleken här! MSN Dejting

-- 
Nandana Mihindukulasooriya  
WSO2 inc.

http://nandana83.blogspot.com/
http://www.wso2.org

_________________________________________________________________
Var sommaren för kort? Här hittar du solen!
http://resor.se.msn.com/

Re: Generate Server Side Implementation based on WSDL

Posted by Nandana Mihindukulasooriya <na...@gmail.com>.
Hi Niels,
       This tutorial [1] will help you.

thanks,
nandana

[1] - http://wso2.org/node/2873


On Sun, Feb 15, 2009 at 4:30 PM, Niels Boem <me...@hotmail.com> wrote:

>
> Hi mail group,
>
> I have just started at a new job. My work includes maintaning our business
> server (java based J2EE container)
>
> Previously all our business components have been written first (straigth up
> POJO) and
> then they have been rigistred to the Axis2 run-time envionrment using the
> AxisConfiguration API.
> (e.g. we have never handled any configuration xml files / WSDL etc)
>
> But this week I got the WSDL file for a business service that we are
> required to support.
> This means that we must either be able to generate the java classes
> directly based on the WSDL definitons, or
> to somehow configure the mapping between the standard WSDL data definitions
> into Java.
>
> I'm pretty new to this so any help is greatly appreciated. But I cannot
> change the fact all the registration is
> done using the AxisConfiguration API, to change this would require to much
> work.
>
> BR
>
> Niels
>
>
>
>
> ------------------------------
> Krama någon i vinter! Hitta kärleken här! MSN Dejting<http://match.se.msn.com/channel/index.aspx?trackingid=1002952>
>



-- 
Nandana Mihindukulasooriya
WSO2 inc.

http://nandana83.blogspot.com/
http://www.wso2.org