[jboss-user] [JBossWS] - Re: IllegalStateException Cannot find property
gryffin
do-not-reply at jboss.com
Tue Aug 19 18:34:20 EDT 2008
Here's the relevant part of the port class,
/**
| * This class was generated by the JAX-WS RI.
| * JAX-WS RI 2.1.3-b02-
| * Generated source version: 2.0
| *
| */
| @WebService(name = "AssetAPIServicePortType", targetNamespace = "http://service.api.mobileview.aeroscout.com")
| public interface AssetAPIServicePortType {
|
|
| /**
| *
| * @param in0
| * @return
| * returns com.boeing.nmt.foo.AssetDTO
| */
| @WebMethod
| @WebResult(name = "out", targetNamespace = "http://service.api.mobileview.aeroscout.com")
| @RequestWrapper(localName = "update", targetNamespace = "http://service.api.mobileview.aeroscout.com", className = "com.boeing.nmt.foo.Update")
| @ResponseWrapper(localName = "updateResponse", targetNamespace = "http://service.api.mobileview.aeroscout.com", className = "com.boeing.nmt.foo.UpdateResponse")
| public AssetDTO update(
| @WebParam(name = "in0", targetNamespace = "http://service.api.mobileview.aeroscout.com")
| AssetDTO in0);
And here's the Update class itself. Perhaps I'm missing some namespace value in here?
| package com.boeing.nmt.foo;
|
| import java.io.Serializable;
| import javax.xml.bind.annotation.XmlAccessType;
| import javax.xml.bind.annotation.XmlAccessorType;
| import javax.xml.bind.annotation.XmlElement;
| import javax.xml.bind.annotation.XmlRootElement;
| import javax.xml.bind.annotation.XmlType;
|
|
| /**
| * <p>Java class for anonymous complex type.
| *
| * <p>The following schema fragment specifies the expected content contained within this class.
| *
| * <pre>
| * <complexType>
| * <complexContent>
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
| * <sequence>
| * <element name="in0" type="{http://dto.api.mobileview.aeroscout.com}UserDTO"/>
| * </sequence>
| * </restriction>
| * </complexContent>
| * </complexType>
| * </pre>
| *
| *
| */
| @XmlAccessorType(XmlAccessType.FIELD)
| @XmlType(name = "", propOrder = {
| "in0"
| })
| @XmlRootElement(name = "update", namespace = "http://service.api.mobileview.aeroscout.com")
| public class Update
| implements Serializable
| {
|
| private final static long serialVersionUID = 1L;
| @XmlElement(namespace = "http://service.api.mobileview.aeroscout.com", required = true, nillable = true)
| protected UserDTO in0;
|
| /**
| * Gets the value of the in0 property.
| *
| * @return
| * possible object is
| * {@link UserDTO }
| *
| */
| public UserDTO getIn0() {
| return in0;
| }
|
| /**
| * Sets the value of the in0 property.
| *
| * @param value
| * allowed object is
| * {@link UserDTO }
| *
| */
| public void setIn0(UserDTO value) {
| this.in0 = value;
| }
|
| }
|
This code was generated by wsconsume from the JBossWS package. I used a jaxb binding file with generateElementProperty="false" .
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171384#4171384
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171384
More information about the jboss-user
mailing list