By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,865 Members | 1,453 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,865 IT Pros & Developers. It's quick & easy.

web services

P: 2
HI to all,
please help me.its urgent requirement.
my question is this is the wsdl file i got from our client.please see at bottom.
when iam trying to access that webmethods iam getting only byval params but i
didnt get byref params.please let me know how to get byref values from web methods.
please help me in this regard because its an urgent requirement.

------------------------wsdl file-----------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
name="capwizxc"
targetNamespace="https://ssl.capwiz.com/XC/SOAP/Services"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="https://ssl.capwiz.com/XC/SOAP/Services"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<xsd:schema elementFormDefault="qualified"
targetNamespace="https://ssl.capwiz.com/XC/SOAP/Services">
<xsd:complexType name="repObject">
<xsd:sequence>
<xsd:element name="title" nillable="false" type="xsd:string"/>
<xsd:element name="first_name" nillable="false" type="xsd:string"/>
<xsd:element name="last_name" nillable="false" type="xsd:string"/>
<xsd:element name="party" nillable="false" type="xsd:string"/>
<xsd:element name="office" nillable="false" type="xsd:string"/>
<xsd:element
maxOccurs="1"
minOccurs="0"
name="district"
nillable="false"
type="xsd:string"/>
<xsd:element name="url" nillable="false" type="xsd:string"/>
<xsd:element name="full_description" nillable="false" type="xsd:string"/>
<xsd:element name="seat_id" nillable="false" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="actionObject">
<xsd:sequence>
<xsd:element name="action_date" nillable="false" type="xsd:string"/>
<xsd:element name="recipient_full" nillable="false" type="xsd:string"/>
<xsd:element name="alert" nillable="false" type="xsd:string"/>
<xsd:element name="subject" nillable="false" type="xsd:string"/>
<xsd:element name="intended_delivery_method" nillable="false" type="xsd:string"/>
<xsd:element name="actual_delivery_method" nillable="false" type="xsd:string"/>
<xsd:element name="delivery_status" nillable="false" type="xsd:string"/>
<xsd:element name="alert_id" nillable="false" type="xsd:string"/>
<xsd:element name="message_id" nillable="false" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="ArrayOfActionObject">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="actions" type="tns:actionObject" />
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="msgObject">
<xsd:sequence>
<xsd:element name="date_sent" nillable="false" type="xsd:string"/>
<xsd:element name="subject" nillable="false" type="xsd:string"/>
<xsd:element name="last_name" nillable="false" type="xsd:string"/>
<xsd:element name="delivery_status" nillable="false" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="ArrayOfMsgObject">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="messages" type="tns:msgObject" />
</xsd:sequence>
</xsd:complexType>

</xsd:schema>

</wsdl:types>
<wsdl:message name="test_authRequest">
<wsdl:part name="authuser" type="xsd:string"/>
<wsdl:part name="authpass" type="xsd:string"/>
<wsdl:part name="client_id" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="get_personRequest">
<wsdl:part name="authuser" type="xsd:string"/>
<wsdl:part name="authpass" type="xsd:string"/>
<wsdl:part name="client_id" type="xsd:string"/>
<wsdl:part name="id_type" type="xsd:string"/>
<wsdl:part name="id_value" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="get_person_activityResponse">
<wsdl:part name="external_id" type="xsd:string"/>
<wsdl:part name="capwiz_id" type="xsd:string"/>
<wsdl:part name="email_address" type="xsd:string"/>
<wsdl:part name="actions_taken" type="tns:ArrayOfActionObject"/>
<wsdl:part name="messages_sent" type="tns:ArrayOfMsgObject"/>
<wsdl:part name="transaction_id" type="xsd:string"/>
<wsdl:part name="transaction_time" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="get_person_informationResponse">
<wsdl:part name="external_id" type="xsd:string"/>
<wsdl:part name="capwiz_id" type="xsd:string"/>
<wsdl:part name="email_address" type="xsd:string"/>
<wsdl:part name="honorific" type="xsd:string"/>
<wsdl:part name="first_name" type="xsd:string"/>
<wsdl:part name="last_name" type="xsd:string"/>
<wsdl:part name="subscription_status" type="xsd:string"/>
<wsdl:part name="federal_district" type="xsd:string"/>
<wsdl:part name="state_district_lower" type="xsd:string"/>
<wsdl:part name="state_district_upper" type="xsd:string"/>
<wsdl:part name="address" type="xsd:string"/>
<wsdl:part name="city" type="xsd:string"/>
<wsdl:part name="state" type="xsd:string"/>
<wsdl:part name="zip" type="xsd:string"/>
<wsdl:part name="country" type="xsd:string"/>
<wsdl:part name="phone" type="xsd:string"/>
<wsdl:part name="fax" type="xsd:string"/>
<wsdl:part name="last_update" type="xsd:string"/>
<wsdl:part name="transaction_id" type="xsd:string"/>
<wsdl:part name="transaction_time" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="test_authResponse">
<wsdl:part name="result" type="xsd:string"/>
<wsdl:part name="transaction_id" type="xsd:string"/>
<wsdl:part name="transaction_time" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="testRequest">
</wsdl:message>
<wsdl:message name="get_person_officialsResponse">
<wsdl:part name="external_id" type="xsd:string"/>
<wsdl:part name="capwiz_id" type="xsd:string"/>
<wsdl:part name="email_address" type="xsd:string"/>
<wsdl:part name="state" type="xsd:string"/>
<wsdl:part name="us_house_rep_1" type="tns:repObject"/>
<wsdl:part name="us_senator_1" type="tns:repObject"/>
<wsdl:part name="us_senator_2" type="tns:repObject"/>
<wsdl:part name="state_senate_rep_1" type="tns:repObject"/>
<wsdl:part name="state_house_rep_1" type="tns:repObject"/>
<wsdl:part name="transaction_id" type="xsd:string"/>
<wsdl:part name="transaction_time" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="testResponse">
<wsdl:part name="result" type="xsd:string"/>
<wsdl:part name="transaction_time" type="xsd:string"/>
</wsdl:message>
<wsdl:portType name="capwizxcPortType">
<wsdl:operation name="test">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a simple Hello message</wsdl:documentation>
<wsdl:input message="tns:testRequest"/>
<wsdl:output message="tns:testResponse"/>
</wsdl:operation>
<wsdl:operation name="test_auth">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Verifies that login credentials work</wsdl:documentation>
<wsdl:input message="tns:test_authRequest"/>
<wsdl:output message="tns:test_authResponse"/>
</wsdl:operation>
<wsdl:operation
name="get_person_information"
parameterOrder="authuser authpass client_id id_type id_value external_id capwiz_id email_address honorific first_name last_name subscription_status federal_district state_district_upper state_district_lower address city state zip country phone fax last_update transaction_id transaction_time">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Fetch a person's profile information</wsdl:documentation>
<wsdl:input message="tns:get_personRequest"/>
<wsdl:output message="tns:get_person_informationResponse"/>
</wsdl:operation>
<wsdl:operation
name="get_person_officials"
parameterOrder="authuser authpass client_id id_type id_value external_id capwiz_id email_address state state_house_rep_1 state_senate_rep_1 us_house_rep_1 us_senator_1 us_senator_2 transaction_id transaction_time">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Fetch a person's elected officials</wsdl:documentation>
<wsdl:input message="tns:get_personRequest"/>
<wsdl:output message="tns:get_person_officialsResponse"/>
</wsdl:operation>
<wsdl:operation
name="get_person_activity"
parameterOrder="authuser authpass client_id id_type id_value external_id capwiz_id email_address actions_taken messages_sent transaction_id transaction_time">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Fetch a person's actions taken and the messages sent to them</wsdl:documentation>
<wsdl:input message="tns:get_personRequest"/>
<wsdl:output message="tns:get_person_activityResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="capwizxcBinding" type="tns:capwizxcPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="test">
<soap:operation soapAction="https://ssl.capwiz.com/XC/SOAP/Services#test"/>
<wsdl:input>
<soap:body
namespace="https://ssl.capwiz.com/XC/SOAP/Services"
use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body
namespace="https://ssl.capwiz.com/XC/SOAP/Services"
parts="result transaction_time"
use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="test_auth">
<soap:operation soapAction="https://ssl.capwiz.com/XC/SOAP/Services#test_auth"/>
<wsdl:input>
<soap:body
namespace="https://ssl.capwiz.com/XC/SOAP/Services"
parts="authuser authpass client_id"
use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body
namespace="https://ssl.capwiz.com/XC/SOAP/Services"
parts="result transaction_id transaction_time"
use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="get_person_information">
<soap:operation
soapAction="https://ssl.capwiz.com/XC/SOAP/Services#get_person_information"/>
<wsdl:input>
<soap:body
namespace="https://ssl.capwiz.com/XC/SOAP/Services"
parts="authuser authpass client_id id_type id_value"
use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body
namespace="https://ssl.capwiz.com/XC/SOAP/Services"
parts="external_id capwiz_id email_address honorific first_name last_name subscription_status federal_district state_district_upper state_district_lower address city state zip country phone fax last_update transaction_id transaction_time"
use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="get_person_officials">
<soap:operation
soapAction="https://ssl.capwiz.com/XC/SOAP/Services#get_person_officials"/>
<wsdl:input>
<soap:body
namespace="https://ssl.capwiz.com/XC/SOAP/Services"
parts="authuser authpass client_id id_type id_value"
use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body
namespace="https://ssl.capwiz.com/XC/SOAP/Services"
parts="external_id capwiz_id email_address state us_house_rep_1 us_senator_1 us_senator_2 state_senate_rep_1 state_house_rep_1 transaction_id transaction_time"
use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="get_person_activity">
<soap:operation
soapAction="https://ssl.capwiz.com/XC/SOAP/Services#get_person_activity"/>
<wsdl:input>
<soap:body
namespace="https://ssl.capwiz.com/XC/SOAP/Services"
parts="authuser authpass client_id id_type id_value"
use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body
namespace="https://ssl.capwiz.com/XC/SOAP/Services"
parts="external_id capwiz_id email_address actions_taken messages_sent transaction_id transaction_time"
use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="capwizxc">
<wsdl:port binding="tns:capwizxcBinding" name="capwizxcPort">
<soap:address location="https://ssl.capwiz.com/xcapi/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Aug 24 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.