NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
noamn11
Joined: 19 Jun 2010 Posts: 2
|
Posted: Sat Jun 19, 2010 1:37 pm Post subject: Creating an AXIS2 client - Error |
|
|
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
|
Posted: Sat Jun 19, 2010 1:49 pm Post subject: |
|
|
I forgot to mention that I'm using NetBeans 6.7.1 ,
and GlassFish 2.1, |
|
| Back to top |
|
 |
|
|
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
|
|