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

XMLGregorianCalendar hours maximum negative integer on conversion to xs:date

I used cxf's wsdl2java to create the java stubs to use an external webservice and it uses dates as XMLGregorianCalendar, where in the wsdl they are xs:date. Having looked it up this does seem correct. I am able to call the web service with no…
Carasel
  • 2,740
  • 5
  • 32
  • 51
0
votes
1 answer

org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: Web Service error. Soap Exception

By using wsdl2java, I executed methods from a WSDL. These methods include only Remote Exceptions. When I run the program, it gives the error written on the tittle. However I am expecting a Soap Exception because when I made a request over the Soap…
Burak Keceli
  • 933
  • 1
  • 15
  • 31
0
votes
0 answers

How to manage Java WS Timeout

I'm trying to manage a java timeout server response but I can't do it. I call a WS but sometimes this WS is down and the program keeps waiting for a long time. If the server doesn't answer after 10 seconds, I want to continue with program execution…
Arnau
  • 11
  • 3
0
votes
1 answer

CXF element reference

I'm trying run a contract-first by CXF and Maven. I have a WSDL which is inside src/java/resource/wsdl and 5 xsds which are inside src/java/resources/xsd My hierarchi seems like this: aaa.v1r0.xsd (have an element which refers to…
arthurfnsc
  • 915
  • 3
  • 13
  • 30
0
votes
0 answers

How to build a .jar file from a WSDL?

I have a wsdl and one of the methods requires an "arrayofstring" which is done I believe by creating a new instance of the ArrayOString.class (which is created using wsdl2java) So far I downloaded the codegen plug in to eclipse and created the…
0
votes
1 answer

Importing a WebService:

I'm trying to import the following web service: http://www.biomart.org/biomart/martwsdl Using curl for the service getResistry() : everything is OK: curl --header 'Content-Type: text/xml' --data '
Pierre
  • 34,472
  • 31
  • 113
  • 192
0
votes
1 answer

generate webservice client from HTTPS wsdl using java in Axis2 Runtime

I am trying to generate (SOAP) Web-service client classes using WSDL (https://dpdmsdmmk1.fmr.com:12210/cmis/services/RepositoryService?wsdl) which is having HTTPS in the url. Paste_WSDL_Below:…
Jayanand
  • 25
  • 2
  • 7
0
votes
0 answers

CXF WebService Call from Grails

I'm trying to call a WebService from Grails using CXF plugin version: 1.1.3 Have generated Java classes for the WSDL via the command: WsdlToJava "--wsdl=src/java/wsdls/jdeRteListenerService.wsdl --mark -p mypackage.pms.OsrJdeRteSvc -client…
Greg Pagendam-Turner
  • 2,356
  • 5
  • 32
  • 49
0
votes
1 answer

Auto generate / detect webserivce methods from the wsdl file in a java based web application

I need help of awesome tech people here. I'm trying to understand if I can generate a webservice stubs or class automatically using the wsdl file or is it possible to auto detect the methods or services available on the server side. My web…
Sirish
  • 917
  • 3
  • 14
  • 25
0
votes
1 answer

How to remove namespace xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

I have this on my request soapenv: I want to remove…
user1750751
  • 275
  • 3
  • 15
0
votes
1 answer

Generating stub classes for 3rd party WS

I need to incorporate a pretty complex 3rd party web service into my Grails app. My plan was to use WSDL2Java to generate the stub classes from the wsdl, and this was the method recommended in the 3rd party's documentation (complete with examples).…
rocks
  • 1
  • 2
0
votes
1 answer

wsimport - Confusing WARNINGS

Hi i'm newbie working with wsdl, xsd and web services... I must generate some class from a wsdl generated in EA. I found some problems trying to import 2 local schemas on same namespace, so my workaround was include schemas. But now i find an Error…
Borja Coalla
  • 216
  • 1
  • 3
  • 11
0
votes
0 answers

child POM jar classes not showing up in another child project

I have two child POMs. one to generate jar from wsdl and another one to use that jar to do some web service call stuff. As the first step, jar got generated from wsdl successfully as expected and I see classes in jar using jar explorer. next when i…
Jey
  • 93
  • 1
  • 8
0
votes
1 answer

How does Jaxb2Marshaller work in a spring-ws service?

I an new to Spring Web Service and I want to know how spring ws works. I have done a simple spring ws according to the spring ws tutorial. But I don't quite understand the internal mechanism, especially the marshaling/unmarshaling part. Unlike the…
Jimmy
  • 1,699
  • 2
  • 16
  • 17
0
votes
0 answers

Generating Java Library from Web Service

I have a few web services, and I want to be able to distribute a .jar that provides a library with which people can call those web services, but I'm unsure of how to do this. I've tried using wsimport, but it isn't able to parse one of the web…
Publius
  • 1,184
  • 2
  • 10
  • 27