Questions tagged [wsdl2java]

WSDL2Java is a JAX-RPC tool that is run against the WSDL file to create Java APIs and deployment descriptor templates according to these specifications.

656 questions
0
votes
1 answer

Get localhost:8080 instead of my_ip_address:8080 in wsdl2java

I am using axistools-maven-plugin This is my xml content. org.codehaus.mojo axistools-maven-plugin 1.4
Mawia
  • 4,220
  • 13
  • 40
  • 55
0
votes
1 answer

SSL Connection for consuming web services

I've some questions about establishing SSL connection for my web service. So I generated a java web service project with CXF's tool "WsdlToJava". Now I wan't to consume my web service, which is hosted on my server with SSL protocol access. When I…
Roman Kos
  • 265
  • 2
  • 6
  • 15
0
votes
1 answer

Running webservice that is generated from wsdl2java cxf

I'm trying to run webservice that is generated from wsdl using cxf. get sample wsdl (hello_world.wsdl) http://cxf.apache.org/docs/developing-a-consumer.html Generate java code from wsdl 'wsdl2java -ant -server -d Server…
Sean
  • 17
  • 4
0
votes
2 answers

Axis2 (war) + Tomcat 6: WSDL2Java missing?

I am trying to learn how to implement Web Services using Axis2 and Tomcat, but i'm afraid that i'm not grasping some of the basics. I was following this tutorial but when i attempted to use WSDL2Java i noticed that i do not have the tool anywhere.…
João Pereira
  • 3,545
  • 7
  • 44
  • 53
0
votes
1 answer

Nice way to convert AxisDatatypes from the same .xsd

I am looking for a possibility to convert two Axis Datatypes (generated by WSDL2Java) into each other. Both DataTypes consists of exactly the same Attributes because they are both from the same XSD. The Problem is Axis generates them as Seperated…
Robin
  • 3,512
  • 10
  • 39
  • 73
0
votes
1 answer

How do I debug WSDL when WSDL2Java fails?

We are upgrading our web services to use JAX-WS 2.1. Our current web services was generated java-first and using Axis1 to auto-generate WSDL. Now we have this auto-generated WSDL and need to generate JAX-WS compliant Java code from it. I'm using…
user829237
  • 1,719
  • 8
  • 37
  • 61
0
votes
1 answer

wsdl2java code generation for lists of custom objects

I would like to know if the tool "wsdl2java" (Axis2) is able to generate stubs that support getting list of custom ojects. For instance, if I have a WS that have the following method: public List getDevices(){ //... } Where Device is a…
amp
  • 11,754
  • 18
  • 77
  • 133
0
votes
1 answer

CXF OutInterceptor uses the wrong SoapPartImpl class resulting in a org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR exception

I have a J2EE app that (for legacy reasons) has both the Axis2 and CXF libraries used for different provider end-points both used by the application. I have implemented a new client end-point that connects to a third party provider via CXF. The end…
0
votes
1 answer

Axis2 implementation and stub generation issue

I'm using wsdl2java to generate service. Arguments for generation are following: -p com.dummy.tst.service -u -f -sp -s -b -ssi -d xmlbeans -uri /some/path/service.wsdl -ss -g -sd -o /some/path/gen After generation I've got a services.xml file with…
BSen
  • 187
  • 2
  • 16
0
votes
2 answers

Is it possible to specify the TCP port in mappings in the axis NSToPkg.properties file?

I'm using the Axis 1.4 axis-wsdl2java ant task to create stub code for a web service hosted on port 8080 of a webserver. I've used the NStoPkg.properties file successfully in the past to map the webserver namespace to a convenient java package name…
Ewen Cartwright
  • 15,378
  • 4
  • 22
  • 21
0
votes
1 answer

wsdl2java generated class names

When I'm using wsdl2java tool to generate java classes based on wsdl file I get two files for each class: first - pure virtual class file, second - class file with implementation, which have Impl postfix in classname. So, for example if I specify in…
BSen
  • 187
  • 2
  • 16
0
votes
1 answer

Axis WSDL2Java generation issue

I've wrote some simple service that consists of several files (wsdl, xsd). In xsd file I've got following definition:
BSen
  • 187
  • 2
  • 16
0
votes
1 answer

Generated source classes using Axis java2wsdl / wsdl2java differs from original

I'm implementing a WebService with Apache Axis. This service receives as a parameter a ParameterBean class that contains these members: public class ParameterBean { protected String userName = ""; protected String password = ""; …
Federico Cristina
  • 2,203
  • 1
  • 19
  • 37
0
votes
1 answer

Axis2 SocketTimeoutException: Read Time Out

I am trying the build a SOAP client to access the National Weather Service NDFD SOAP Service. I'm using Axis2 1.6.2 with code generated with wsdl2java. Every time I try to retrieve data, I receive a AxisFault saying Read timed out. I have tried to…
ecnerwal
  • 1
  • 1
  • 1
0
votes
1 answer

WSDL validation failure with Apache Axis 2

I'm trying to create service using Apache Axis 2. Part of the service need to be generated from WSDL file, so I'm using org.apache.axis2.wsdl.WSDL2Java to do this. I've created following WSDL file:
BSen
  • 187
  • 2
  • 16
1 2 3
43
44