this is the WSDL file, it seems that the datatype of attachment is
"datahandler"(apache open source).
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://www.abcdef.com/manage/service"
xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="
http://www.abcdef.com/manage/service" xmlns:intf="
http://www.abcdef.com/manage/service" xmlns:soapenc="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="
http://www.abcdef.com/manage/schema" xmlns:tns2="
http://www.abcdef.com/manage/exception" xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="
http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:types>
<schema targetNamespace="http://www.abcdef.com/manage/schema" xmlns="
http://www.w3.org/2001/XMLSchema">
<import namespace="http://www.abcdef.com/manage/exception"/>
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="ArrayOf_tns1_DataHandler">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType"
wsdl:arrayType="apachesoap:DataHandler[]"/>
</restriction>
</complexContent>
</complexType>
<complexType name="EventItem">
<sequence>
<element name="eventID" nillable="true" type="xsd:string"/>
<element name="reqID" nillable="true" type="xsd:int"/>
<element name="CheckinTime" nillable="true" type="xsd:dateTime"/>
<element name="place" nillable="true" type="xsd:string"/>
<element name="regTime" nillable="true" type="xsd:dateTime"/>
<element name="origin" nillable="true" type="xsd:int"/>
<element name="incidence" nillable="true" type="xsd:int"/>
<element name="priority" nillable="true" type="xsd:int"/>
<element name="finishLimit" nillable="true" type="xsd:dateTime"/>
<element name="sysType" nillable="true" type="xsd:int"/>
<element name="category" nillable="true" type="xsd:string"/>
<element name="title" nillable="true" type="xsd:string"/>
<element name="describe" nillable="true" type="xsd:string"/>
<element name="cIID" nillable="true" type="xsd:int"/>
<element name="attachFlag" nillable="true" type="xsd:boolean"/>
<element name="fileNum" nillable="true" type="xsd:int"/>
<element maxOccurs="unbounded" minOccurs="0" name="attName"
nillable="true" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="QueryRequest">
<sequence>
<element name="EventID" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="QueryResponse">
<sequence>
<element name="EventID" nillable="true" type="xsd:string"/>
<element name="Solver" nillable="true" type="xsd:string"/>
<element name="State" nillable="true" type="xsd:int"/>
<element name="Receiver" nillable="true" type="xsd:string"/>
<element name="log" nillable="true" type="xsd:string"/>
<element name="Cause" nillable="true" type="xsd:string"/>
<element name="Solution" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="EventItemBack">
<sequence>
<element name="eventID" nillable="true" type="xsd:string"/>
<element name="solver" nillable="true" type="xsd:string"/>
<element name="state" nillable="true" type="xsd:int"/>
<element name="receiver" nillable="true" type="xsd:string"/>
<element name="log" nillable="true" type="xsd:string"/>
<element name="solution" nillable="true" type="xsd:string"/>
<element name="breakTime" nillable="true" type="xsd:int"/>
<element name="endCode" nillable="true" type="xsd:int"/>
<element name="repeatFlag" nillable="true" type="xsd:boolean"/>
<element name="timeoutFlag" nillable="true" type="xsd:boolean"/>
<element name="endTime" nillable="true" type="xsd:dateTime"/>
<element name="attachFlag" nillable="true" type="xsd:boolean"/>
<element name="fileNum" nillable="true" type="xsd:int"/>
<element maxOccurs="unbounded" minOccurs="0" name="attName"
nillable="true" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="EventBackResponse">
<sequence>
<element name="EventID" nillable="true" type="xsd:string"/>
<element name="State" nillable="true" type="xsd:int"/>
<element name="Describe" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</schema>
<schema targetNamespace="http://www.abcdef.com/manage/exception" xmlns="
http://www.w3.org/2001/XMLSchema">
<import namespace="http://www.abcdef.com/manage/schema"/>
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="AppException">
<sequence>
<element name="errMsg" nillable="true" type="xsd:string"/>
<element name="wappedException" nillable="true" type="xsd:anyType"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="queryEventResponse">
<wsdl:part name="out_query" type="tns1:QueryResponse"/>
</wsdl:message>
<wsdl:message name="AppException">
<wsdl:part name="fault" type="tns2:AppException"/>
</wsdl:message>
<wsdl:message name="queryEventRequest">
<wsdl:part name="in_query" type="tns1:QueryRequest"/>
</wsdl:message>
<wsdl:message name="putEventResponse">
<wsdl:part name="resultReply" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="backEventResponse">
<wsdl:part name="resultReply" type="tns1:EventBackResponse"/>
</wsdl:message>
<wsdl:message name="putEventRequest">
<wsdl:part name="in_affies" type="tns1:ArrayOf_tns1_DataHandler"/>
<wsdl:part name="in_event" type="tns1:EventItem"/>
</wsdl:message>
<wsdl:message name="backEventRequest">
<wsdl:part name="in_affies" type="tns1:ArrayOf_tns1_DataHandler"/>
<wsdl:part name="in_event" type="tns1:EventItemBack"/>
</wsdl:message>
<wsdl:portType name="IntManageServer">
<wsdl:operation name="backEvent" parameterOrder="in_affies in_event">
<wsdl:input message="impl:backEventRequest"
name="backEventRequest"/>
<wsdl:output message="impl:backEventResponse"
name="backEventResponse"/>
<wsdl:fault message="impl:AppException" name="AppException"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="IntCRMServerSoapBinding" type="impl:IntManageServer">
<wsdlsoap:binding style="rpc" transport="
http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="putEvent">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="putEventRequest">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" namespace="
http://www.abcdef.com/manage/service" use="encoded"/>
</wsdl:input>
<wsdl:output name="putEventResponse">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" namespace="
http://www.abcdef.com/manage/service" use="encoded"/>
</wsdl:output>
<wsdl:fault name="AppException">
<wsdlsoap:fault encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" name="AppException" namespace="
http://www.abcdef.com/manage/service" use="encoded"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="queryEvent">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="queryEventRequest">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" namespace="
http://www.abcdef.com/manage/service" use="literal"/>
</wsdl:input>
<wsdl:output name="queryEventResponse">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" namespace="
http://www.abcdef.com/manage/service" use="literal"/>
</wsdl:output>
<wsdl:fault name="AppException">
<wsdlsoap:fault encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" name="AppException" namespace="
http://www.abcdef.com/manage/service" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="backEvent">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="backEventRequest">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" namespace="
http://www.abcdef.com/manage/service" use="encoded"/>
</wsdl:input>
<wsdl:output name="backEventResponse">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" namespace="
http://www.abcdef.com/manage/service" use="encoded"/>
</wsdl:output>
<wsdl:fault name="AppException">
<wsdlsoap:fault encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" name="AppException" namespace="
http://www.abcdef.com/manage/service" use="encoded"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CRMService">
<wsdl:port binding="impl:IntCRMServerSoapBinding" name="IntCRMServer">
<wsdlsoap:address location="
http://192.168.5.225:8905/services/IntCRMServer"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
2010/4/11 cpgold <[email protected]>
> **
> Just Map Your Attachment field to the the field in the WS as described by
> the WSDL.
> Its graphically driven.
> IF you can't match input and output it means the data types are
> incompatible.
> If you hover your mouse over a attachment field in WS def. it says
> dataType:base64binary.
>
>
>
>
> On Sat, Apr 10, 2010 at 12:49 PM, jiangxiaofeng86 <
> [email protected]> wrote:
>
>> **
>> hi all,
>>
>> I try to create a filter, which has a "set fields" action that consume a
>> web service.
>> the web service method needs a "datahandler" type input parameter. How do
>> I provide this parameter using an attachement from my form?
>>
>> _attend WWRUG10 www.wwrug.com ARSlist: "Where the Answers Are"_
>>
>
> _attend WWRUG10 www.wwrug.com ARSlist: "Where the Answers Are"_
>
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"