NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Creating an AXIS2 client - Error

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
noamn11



Joined: 19 Jun 2010
Posts: 2

PostPosted: Sat Jun 19, 2010 1:37 pm    Post subject: Creating an AXIS2 client - Error Reply with quote

hello,
I Created a simple Axis2 Web Service :

package NewServices;

public class NewAxisService {

/** Sample method
*/
public String sayhello(String name) {
return "Hello "+name;
}

}

using this tutorial :
http://netbeans.org/kb/61/websvc/gs-axis.html#axis_options_tomcat

and It works fine on the server's side -
tested it on the browser and no problem there

but when I'm trying to create a W-S client to use the service
(I created a web-application and there chose : web service client)
it fails and I get these errors :


[WARNING] SOAP port "NewAxisServiceHttpSoap12Endpoint": uses a non-standard SOAP 1.2 binding.
line 74 of file:/C:/Documents%20and%20Settings/NOAM/My%20Documents/NetBeansProjects/WebApplication4/src/conf/xml-resources/web-service-references/NewAxisService/wsdl/localhost_8080/axis2/services/NewAxisService.wsdl

[WARNING] port "NewAxisServiceHttpEndpoint" is not a SOAP port, it has no soap:address
line 77 of file:/C:/Documents%20and%20Settings/NOAM/My%20Documents/NetBeansProjects/WebApplication4/src/conf/xml-resources/web-service-references/NewAxisService/wsdl/localhost_8080/axis2/services/NewAxisService.wsdl

[WARNING] port "NewAxisServiceHttpEndpoint": not a standard SOAP port. The generated artifacts may not work with JAXWS runtime.
line 77 of file:/C:/Documents%20and%20Settings/NOAM/My%20Documents/NetBeansProjects/WebApplication4/src/conf/xml-resources/web-service-references/NewAxisService/wsdl/localhost_8080/axis2/services/NewAxisService.wsdl

generating code...

newservices\NewAxisService.java
newservices\NewAxisServicePortType.java
newservices\ObjectFactory.java
newservices\Sayhello.java
newservices\SayhelloResponse.java
newservices\package-info.java


what am I doing wrong ?

thanks in advance,
noamn11
Back to top
noamn11



Joined: 19 Jun 2010
Posts: 2

PostPosted: Sat Jun 19, 2010 1:49 pm    Post subject: Reply with quote

I forgot to mention that I'm using NetBeans 6.7.1 ,
and GlassFish 2.1,
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo