Hi All-

Axis-2_1/src/modules/xmlbeans/mvn

[INFO] Cannot execute mojo: resources. It requires a project with an existing 
pom.xml, but the build is not using one.
[INFO] -------------------------------------------------------------------------
---

Is there a pom.xml for modules/xmlbeans project?

Thank You,
Martin --
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents
----- Original Message ----- 
From: "Yang Zhonghua (Dr)" <[EMAIL PROTECTED]>
To: <axis-user@ws.apache.org>; <[EMAIL PROTECTED]>
Sent: Thursday, November 16, 2006 10:26 PM
Subject: RE: [Axis2] Is Axis2 1.1 working for you?




Thanks for your quick response.

I followed the steps to create a simple web service, ask (based on
example from ibm web site): (The same was done under axis2 1.0, and
works fine).

Your advise is appreciated on where went wrong.

1)
cd D:\Axis2Workspace\Ask

wsdl2java.bat -uri D:\Axis2Workspace\wsdl\ask.wsdl -ss -sd -d xmlbeans
-o 
D:\Axis2Workspace\Ask -p icis.ask


2)
// Defining the server skeleton

System.out.println("QUESTION ASKED: " + 

param0.getAsk().getQuestion());
sg.edu.ntu.icis.ask.xsd.AskResponseDocument res =


sg.edu.ntu.icis.ask.xsd.AskResponseDocument.Factory.newInstance();
sg.edu.ntu.icis.ask.xsd.AskResponseDocument.AskResponse 

res2 =
res.addNewAskResponse();
res2.setAnswer("Why ask me, Georgy, I don't know 

anything!!!");
return res;

3)
create the client stub:

wsdl2java.bat -uri D:\Axis2Workspace\wsdl\ask.wsdl -d xmlbeans -o 
D:\Axis2Workspace\Ask -p icis.ask

4) Coding Client

package icis.ask;
import sg.edu.ntu.icis.ask.xsd.*;
public class Client{
public static void main(java.lang.String args[]){
try{
AskServiceStub stub = new AskServiceStub(null,

"http://localhost:8080/axis2/services/AskService";);
call(stub);
} catch(Exception e){
e.printStackTrace();
}
}
/* call */
public static boolean call(AskServiceStub stub){
try{
AskDocument reqDoc = 
AskDocument.Factory.newInstance();
AskDocument.Ask reqDoc2 = reqDoc.addNewAsk();
reqDoc2.setQuestion("I have a hole in"+
" my bucket, dear Liza, with what should I fix 

it?");
AskResponseDocument resDoc = stub.Ask(reqDoc);
System.out.println("ANSWER RECEIVED: " +

resDoc.getAskResponse().getAnswer

());
return true;
} catch(Exception e){
e.printStackTrace();
}
return false;
}
}

5)
Package

D:\Axis2Workspace\Ask>ant jar.server

Check in D:\Axis2Workspace\Ask\build\lib, found
AskService.aar

6) deploy (upload using admin tool) which said "successful"

tomcat 5.5.17 console:  "INFO: Deploying Web service  AskService.aar"

7) set classpath
D:\Axis2Workspace\Ask\bin>set
classpath=%classpath%;D:\Axis2Workspace\Ask\build\lib\AskService.aar;D:\
Axis2Workspace\Ask\build\lib\XBeans-packaged.jar

8) Run client
java -cp %CLASSPATH% icis.ask.Client

The run time error msg:

org.apache.axis2.AxisFault: HTTP Transport error : '404' -
'/axis2/services/AskService'; nested exception is:
        org.apache.axis2.AxisFault: HTTP Transport error : '404' -
'/axis2/services/AskService'; nested exception is:
        org.apache.axis2.AxisFault: HTTP Transport error : '404' -
'/axis2/services/AskService'; nested exception is:
        org.apache.axis2.AxisFault: HTTP Transport error : '404' -
'/axis2/services/AskService'
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Com
monsHTTPTransportSender.java:225)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:670)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
peration.java:365)
        at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAx
isOperation.java:295)
        at icis.ask.AskServiceStub.Ask(AskServiceStub.java:141)
        at icis.ask.Client.call(Client.java:19)
        at icis.ask.Client.main(Client.java:8)
Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '404' -
'/axis2/services/AskService'; nested exception is:
        org.apache.axis2.AxisFault: HTTP Transport error : '404' -
'/axis2/services/AskService'
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessa
geWithCommons(CommonsHTTPTransportSender.java:340)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Com
monsHTTPTransportSender.java:205)
        ... 6 more
Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '404' -
'/axis2/services/AskService'
        at
org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPS
ender.java:144)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessa
geWithCommons(CommonsHTTPTransportSender.java:334)
        ... 7 more



-----Original Message-----
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 16, 2006 10:17 AM
To: axis-user@ws.apache.org
Cc: Axis developer list
Subject: Re: [Axis2] Is Axis2 1.1 working for you?

EZHYang,

We released 2 RC candidates and a countless stream of nightlies....oh
well!

Can you please post your code that fails? any information on what you
tried and what failed?

If we don't know what broke, we can't fix it, can we?

thanks,
dims

On 11/15/06, Yang Zhonghua (Dr) <[EMAIL PROTECTED]> wrote:
>
> I just recently downloaded axis2 1.0 and developed some example ws.
> Yesterday I read the news on axis2 1.1. I expected it to be better
than
> axis2 1.0. To my surprise, the example that works in axis2 1.0 no
longer
> works (I re-done the example in axis2 1.1 environment).
>
> While I am new user of axis2 and play with it only recently when I
> happened to find time, I found that it might not be a good idea to
> release the software which was leading the new users to be
discouraged.
>
>
>
> -----Original Message-----
> From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 16, 2006 3:13 AM
> To: axis-user@ws.apache.org
> Cc: Axis developer list
> Subject: [Axis2] Is Axis2 1.1 working for you?
>
> Folks,
>
> Please chime in with your observations:
>
> - Is Axis2 1.1 working for you?
> - Did you find a problem?
> - Is it in JIRA? (What's the JIRA issue #)
>
> based on this feedback, depending on the issues/problems, the dev team
> can decide on whether to cut a quick 1.1.1 off the 1.1 branch and what
> that 1.1.1 should contain as fixes. Otherwise, onwards towards 1.2...
>
> Thanks,
> dims
>
> --
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service
> Developers)
>
> ---------------------------------------------------------------------
> 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]
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service
Developers)

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