This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes jax-ws clients and jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "jax-ws clients and jboss" Watch "jax-ws clients and jboss" New topic

jax-ws clients and jboss

vidula vid kulkarni

Joined: Apr 13, 2008
Posts: 1

I have a struts application running on jboss3.2.1. I created web service clients for a 3rd party 'document/literal' wsdl using wsimport(jdk1.6 upgrade5). Whenever I try to use the client, I don't get any response from the web service.
The wsdl:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl efinitions xmlns:soap="" xmlns:tns="" xmlns:wsdl="" xmlns:xsd="" xmlns:impl="" xmlns:intf="" xmlns:tns1="" name="atlas" targetNamespace="">
<xsd:schema targetNamespace="" xmlns="">
<import namespace=""/>
<xsd:element name="doSearch">
<xsd:element name="connex" type="xsd:string"/>
<xsd:element name="userId" type="xsd:string"/>
<xsd:element name="authId" type="xsd:string"/>
<xsd:element name="searchBy" type="xsd:string"/>
<xsd:complexType name="AssetBean">
<element name="assetId" type="xsd:int"/>
<element name="assetImageData" nillable="true" type="xsd:base64Binary"/>
<element name="assetImageID" type="xsd:int"/>
<element name="assetKeyword" nillable="true" type="xsd:string"/>
<element name="assetTitle" nillable="true" type="xsd:string"/>
<element name="extendFieldAName" nillable="true" type="xsd:string"/>
<element name="extendFieldAValue" nillable="true" type="xsd:string"/>
<element name="extendFieldBName" nillable="true" type="xsd:string"/>
<element name="extendFieldBValue" nillable="true" type="xsd:string"/>
<element name="extendFieldCName" nillable="true" type="xsd:string"/>
<element name="extendFieldCValue" nillable="true" type="xsd:string"/>
<element name="extendFieldDName" nillable="true" type="xsd:string"/>
<element name="extendFieldDValue" nillable="true" type="xsd:string"/>
<element name="extendFieldEName" nillable="true" type="xsd:string"/>
<element name="extendFieldEValue" nillable="true" type="xsd:string"/>
<element name="extendFieldFName" nillable="true" type="xsd:string"/>
<element name="extendFieldFValue" nillable="true" type="xsd:string"/>
<element name="fileSize" type="xsd:long"/>
<element name="tempField" nillable="true" type="xsd:string"/>
<xsd:element name="doSearchResponse">
<xsd:element name="out" type="tns1:AssetBean" minOccurs ="1" maxOccurs = "unbounded"/>
<wsdl:message name="doSearchRequest">
<wsdl art element="tns1 oSearch" name="parameters"/>
<wsdl:message name="doSearchResponse">
<wsdl art element="tns1 oSearchResponse" name="parameters"/>
<wsdl ortType name="AtlasSearchEndpoint">
<wsdl peration name="doSearch">
<wsdl:input message="tns oSearchRequest"/>
<wsdl utput message="tns oSearchResponse"/>
</wsdl peration>
</wsdl ortType>
<wsdl:binding name="AtlasSearchSoapBinding" type="impl:AtlasSearchEndpoint">
<soap:binding style="document" transport=""/>
<wsdl peration name="doSearch">
<soap peration soapAction=""/>
<wsdl:input name="doSearchRequest">
<soap:body use="literal"/>
<wsdl utput name="doSearchResponse">
<soap:body use="literal"/>
</wsdl utput>
</wsdl peration>
<wsdl:service name="AtlasSearchEndpointService">
<wsdl ort binding="impl:AtlasSearchSoapBinding" name="AtlasSearch">
<soap:address location=""/>
</wsdl ort>
</wsdl efinitions>

The client app code:

AtlasSearchEndpoint port = new AtlasSearchEndpointService().getAtlasSearch();
List<AssetBean>l1 = port.doSearch("AZ_11","11","willusethisonAuthor","GENUS:Metanephrops SPECIES:neptunus");

int size = l1.size();

The size is alwys 0.
jQuery in Action, 2nd edition
subject: jax-ws clients and jboss
Similar Threads
Calling a web service in Axis2
Deserializing parameter 'empRequest'
Axis WSDL2Java's Error: reference but not defined
WSDL issues Type {}Exception is referenced but not defined.