Java2WSDL

2008-01-31 Thread Simone Maletta
Hi guys,
I'm an Italian student involved in my master thesis and I'm using Java2WSDL 
tool in my thesis.
I automatically generate an enterprise java bean from a graphic description, 
then using the tool I create the wsdl file for the bean and develope it on 
JBoss.
Now I want that a BPEL process developed in ODE can access with a synchronous 
invoke to my beans; this the most important think in my project.
While compiling my BPEL process it find a bug into the code: 


http://www.w3.org/2006/05/addressing/wsdl 
wsaw:Action="urn:cccheck" message="axis2:cccheckMessage">





in fact it ca be able to parse this because in the  tag it can 
found a reference to wsaw uri.
The only way to solve this problem I found is to put manually the URI just like 
an attribute in the  tag.
Now, I ask: may fix this using input parameters or I have to work into your 
code? Please send me a response.
Another question: may I choose the mapping parameter into the translation?
There is, if my cean method take a parameter named "CCNum", why into the 
translate it is called "param0"? May I cahnge this and getting a direct mapping 
using class input parameters?
Thank you for time you spend reanding this mail, regards
Simone

Re: Java2WSDL

2008-01-31 Thread Simone Maletta

Hy Paul,
thank you for your solution.
   trying to compile the code using bpelc from ODE it gives me the fllowing 
error:


The prefix "wsaw" for attribute "wsaw:Action" associated with an element 
type "wsdl:output" is not bound.


I resolve this problem manually putting "wsaw" URI in the definition tag 
with other ones.
Because my thesis have to generate, compile and deploy automatically 
web-services using both BPEL and Session Bean,  I can't modify manually each 
WSDL in the deploy process.
I ask if there is a way to fix this bug using scrpt's input parameters, 
perhaps simply introducing another URI in the head, or I have to modify the 
class code.

This is all, I hope I was more clear then before.
Thank you and regards,
Simone


- Original Message - 
From: "Paul Fremantle" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, January 31, 2008 2:22 PM
Subject: Re: Java2WSDL



Simone

I'm afraid I don't understand the first problem. Maybe you could
explain once more

As for getting nice names in the WSDL you can
1) Make sure you compile with javac -g which adds the names into the class 
file

2) Make sure you use classes not interfaces as interfaces don't retain
the parameter names.

Paul

On Jan 31, 2008 12:30 PM, Simone Maletta <[EMAIL PROTECTED]> wrote:




Hi guys,
I'm an Italian student involved in my master thesis and I'm using
Java2WSDL tool in my thesis.
I automatically generate an enterprise java bean from a graphic 
description,
then using the tool I create the wsdl file for the bean and develope it 
on

JBoss.
Now I want that a BPEL process developed in ODE can access with a
synchronous invoke to my beans; this the most important think in my 
project.

While compiling my BPEL process it find a bug into the code:


http://www.w3.org/2006/05/addressing/wsdl
wsaw:Action="urn:cccheck" message="axis2:cccheckMessage">





in fact it ca be able to parse this because in the  tag it 
can

found a reference to wsaw uri.
The only way to solve this problem I found is to put manually the URI 
just

like an attribute in the  tag.
Now, I ask: may fix this using input parameters or I have to work into 
your

code? Please send me a response.
Another question: may I choose the mapping parameter into the 
translation?

There is, if my cean method take a parameter named "CCNum", why into the
translate it is called "param0"? May I cahnge this and getting a direct
mapping using class input parameters?
Thank you for time you spend reanding this mail, regards
Simone




--
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

-
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]



Re: Java2WSDL

2008-01-31 Thread Simone Maletta

Hi Paul,
   you understand it perfectly, I'm sorry but my English is not perfect.
I wish to have response because it is an essental part in my thesis.
Thank you again
Simone
- Original Message - 
From: "Paul Fremantle" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, January 31, 2008 2:50 PM
Subject: Re: Java2WSDL



Simone

Please raise a JIRA and attach the WSDL as produced by Java2WSDL. If I
understand you correctly, it is using the wsaw namespace without
including it in the XML NS declarations. That is a bug. We need to fix
it.

Thanks
Paul

On Jan 31, 2008 1:47 PM, Simone Maletta <[EMAIL PROTECTED]> wrote:

Hy Paul,
thank you for your solution.
trying to compile the code using bpelc from ODE it gives me the 
fllowing

error:

The prefix "wsaw" for attribute "wsaw:Action" associated with an element
type "wsdl:output" is not bound.

I resolve this problem manually putting "wsaw" URI in the definition tag
with other ones.
Because my thesis have to generate, compile and deploy automatically
web-services using both BPEL and Session Bean,  I can't modify manually 
each

WSDL in the deploy process.
I ask if there is a way to fix this bug using scrpt's input parameters,
perhaps simply introducing another URI in the head, or I have to modify 
the

class code.
This is all, I hope I was more clear then before.
Thank you and regards,
Simone



- Original Message -
From: "Paul Fremantle" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, January 31, 2008 2:22 PM
Subject: Re: Java2WSDL


> Simone
>
> I'm afraid I don't understand the first problem. Maybe you could
> explain once more
>
> As for getting nice names in the WSDL you can
> 1) Make sure you compile with javac -g which adds the names into the 
> class

> file
> 2) Make sure you use classes not interfaces as interfaces don't retain
> the parameter names.
>
> Paul
>
> On Jan 31, 2008 12:30 PM, Simone Maletta <[EMAIL PROTECTED]> 
> wrote:

>>
>>
>>
>> Hi guys,
>> I'm an Italian student involved in my master thesis and I'm using
>> Java2WSDL tool in my thesis.
>> I automatically generate an enterprise java bean from a graphic
>> description,
>> then using the tool I create the wsdl file for the bean and develope 
>> it

>> on
>> JBoss.
>> Now I want that a BPEL process developed in ODE can access with a
>> synchronous invoke to my beans; this the most important think in my
>> project.
>> While compiling my BPEL process it find a bug into the code:
>>
>> 
>> http://www.w3.org/2006/05/addressing/wsdl
>> wsaw:Action="urn:cccheck" message="axis2:cccheckMessage">
>> 
>> > wsaw:Action="urn:cccheck">
>> 
>> 
>>
>> in fact it ca be able to parse this because in the  tag 
>> it

>> can
>> found a reference to wsaw uri.
>> The only way to solve this problem I found is to put manually the URI
>> just
>> like an attribute in the  tag.
>> Now, I ask: may fix this using input parameters or I have to work into
>> your
>> code? Please send me a response.
>> Another question: may I choose the mapping parameter into the
>> translation?
>> There is, if my cean method take a parameter named "CCNum", why into 
>> the
>> translate it is called "param0"? May I cahnge this and getting a 
>> direct

>> mapping using class input parameters?
>> Thank you for time you spend reanding this mail, regards
>> Simone
>
>
>
> --
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> [EMAIL PROTECTED]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> -
> 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]






--
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

-
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]



Re: Java2WSDL

2008-01-31 Thread Simone Maletta

Hi Martin,
   you can't find in my code the namespace 
xmlns:axis2="http://quickstart.samples/";

because I customize it, and it became:
xmlns:axis2=http://localhost:8080/CCCheck .

Now I will send again my code, I recompiled using -g option.
I compile the system using the default namespace too but nothing changes.
Thank you for your interest,

Regards

Simone

- Original Message - 
From: "Martin Gainty" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, January 31, 2008 4:47 PM
Subject: Re: Java2WSDL



Hello Simone-

One Quick note:
I didnt see your namespace declaration for axis2 specifically
xmlns:axis2="http://quickstart.samples/";

Please touch base with us when you have the chance to recompile with
debugging with javac -g

M-
- Original Message -
From: "Paul Fremantle" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, January 31, 2008 8:22 AM
Subject: Re: Java2WSDL



Simone

I'm afraid I don't understand the first problem. Maybe you could
explain once more

As for getting nice names in the WSDL you can
1) Make sure you compile with javac -g which adds the names into the 
class

file

2) Make sure you use classes not interfaces as interfaces don't retain
the parameter names.

Paul

On Jan 31, 2008 12:30 PM, Simone Maletta <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi guys,
> I'm an Italian student involved in my master thesis and I'm using
> Java2WSDL tool in my thesis.
> I automatically generate an enterprise java bean from a graphic

description,

> then using the tool I create the wsdl file for the bean and develope it

on

> JBoss.
> Now I want that a BPEL process developed in ODE can access with a
> synchronous invoke to my beans; this the most important think in my

project.

> While compiling my BPEL process it find a bug into the code:
>
> 
> http://www.w3.org/2006/05/addressing/wsdl
> wsaw:Action="urn:cccheck" message="axis2:cccheckMessage">
> 
>  wsaw:Action="urn:cccheck">
> 
> 
>
> in fact it ca be able to parse this because in the  tag it

can

> found a reference to wsaw uri.
> The only way to solve this problem I found is to put manually the URI

just

> like an attribute in the  tag.
> Now, I ask: may fix this using input parameters or I have to work into

your

> code? Please send me a response.
> Another question: may I choose the mapping parameter into the

translation?
> There is, if my cean method take a parameter named "CCNum", why into 
> the

> translate it is called "param0"? May I cahnge this and getting a direct
> mapping using class input parameters?
> Thank you for time you spend reanding this mail, regards
> Simone



--
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

-
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]




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



Re: XSD Complex Type Preventing Client Proxy Generation

2008-02-10 Thread Simone Maletta
XSD Complex Type Preventing Client Proxy GenerationHy Mark,
I noticed two thing in your shema:
   1) the error was reported using array while in the schema you used Array
2) I don't found something like xmlns:soapenc=""

Try to look this things or if you thing that there's soething wrong in your 
schema use an xml validator.
I hope to be helped you, regards
Simone

- Original Message - 
  From: [EMAIL PROTECTED] 
  To: axis-user@ws.apache.org 
  Sent: Sunday, February 10, 2008 3:40 PM
  Subject: XSD Complex Type Preventing Client Proxy Generation


  I have a WSDL from a MS WebService with a complex type defined as: 

   
   
 
   
 
 
   
 
 
 
 
   
 

  With an import as: 

   http://.com/AbstractTypes";> 
http://schemas.xmlsoap.org/soap/encoding/"; /> 
 
   
 
   
 
   
 
   
 
   

  When I attempt to generate a client proxy using the WsdlToJava tool I get the 
following exception: 
  wsdltojava error : undefined simple or complex type soapenc:array 

  Any idea on why this is occurring and how to resolve this is greatly 
appreciated. 



  Mark