Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #22312

axis2 wsdl2java jaxb , xmlrootelement not same as defined in XSD

Newsgroups comp.lang.java.programmer
Date 2013-02-14 16:18 -0800
Message-ID <79fbac87-364d-4aa1-91bf-c399192fbdd8@googlegroups.com> (permalink)
Subject axis2 wsdl2java jaxb , xmlrootelement not same as defined in XSD
From Sri <srikanthmalli@gmail.com>

Show all headers | View raw


Hi,

I am using axis2 to generate JAXB classes from WSDL/XSD and here is strange problem I came across

The root element in the SOAP response is not same as I defined in WSDL/XSD, it is coming as operation/method name defined on the interface.

Ex: defined in WSDL/XSD: EmployeeDtlResponse
Operation name in the interface: opGetEmployeeDtl

and the root element name coming as opGetEmployeeDtl as supposed to be  EmployeeDtlResponse.

Did anybody run into this issue?

Thanks,
-Sri

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

axis2 wsdl2java jaxb , xmlrootelement not same as defined in XSD Sri <srikanthmalli@gmail.com> - 2013-02-14 16:18 -0800
  Re: axis2 wsdl2java jaxb , xmlrootelement not same as defined in XSD Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-02-16 23:36 -0400

csiph-web