AXIS2如何才能返回以下这样数据?注意返回有多个值。<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<NS1:SAS_GetRecordsResponse xmlns:NS1="http://www.borland.com/namespaces/Types">
<return xsi:type="xsd:base64Binary">BR0UIAAQAAAAAAAAAAAAIc</return>
<RecsOut xsi:type="xsd:int">2</RecsOut>
<NS1:Params xsi:NULL="true"/>
<NS1:OwnerData xsi:NULL="true"/>
</NS1:SAS_GetRecordsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>这个返回值对应调用的xml是,请注意Params和OwnerData和上边是人返回是同一个名字。
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<NS1:SAS_GetRecords xmlns:NS1="http://www.borland.com/namespaces/Types">
<ProviderName xsi:type="xsd:string">prvTestSoap</ProviderName>
<Count xsi:type="xsd:int">100</Count>
<Options xsi:type="xsd:int">1</Options>
<CommandText xsi:type="xsd:string">SELECT * FROM T_TEST_SOAP</CommandText>
<NS1:Params xsi:NULL="true"/>
<OwnerData xsi:type="xsd:string"/>
</NS1:SAS_GetRecords>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<NS1:SAS_GetRecordsResponse xmlns:NS1="http://www.borland.com/namespaces/Types">
<return xsi:type="xsd:base64Binary">BR0UIAAQAAAAAAAAAAAAIc</return>
<RecsOut xsi:type="xsd:int">2</RecsOut>
<NS1:Params xsi:NULL="true"/>
<NS1:OwnerData xsi:NULL="true"/>
</NS1:SAS_GetRecordsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>这个返回值对应调用的xml是,请注意Params和OwnerData和上边是人返回是同一个名字。
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<NS1:SAS_GetRecords xmlns:NS1="http://www.borland.com/namespaces/Types">
<ProviderName xsi:type="xsd:string">prvTestSoap</ProviderName>
<Count xsi:type="xsd:int">100</Count>
<Options xsi:type="xsd:int">1</Options>
<CommandText xsi:type="xsd:string">SELECT * FROM T_TEST_SOAP</CommandText>
<NS1:Params xsi:NULL="true"/>
<OwnerData xsi:type="xsd:string"/>
</NS1:SAS_GetRecords>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
解决方案 »
- jxl读取 byte数组
- 谁能告诉我www.hibernate.org里面的hibernatetools在哪里下载呀。直接给能下的链接。谢谢
- .MDF和.LDF后缀的文件是什么啊?
- 请介绍一本深刻讲解数据库原理的书好吗,比如说复杂sql语句执行的时候到底如何,底层的执行顺序
- POI选中excel的某个已经存在的数据的区域,并且设置为日期格式yyyy-m-d
- 请教一个基于J2EE的系统设计
- 求javamail发送邮件的源代码
- jbuilder 部署更新 jboss ejb 可是没有效果???
- datasource 的问题,高手入!!!
- hibernate更改字段not null属性不生效
- webservice客户端代码如何才算一个request请求
- 运用java在图片上画点
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<NS1:SAS_GetRecordsResponse xmlns:NS1="http://www.borland.com/namespaces/Types">
<return xmlns:p0="http://tempuri.org/">
<return xsi:type="xsd:base64Binary">BR0UIAAQAAAAAAAAAAAAIc </return>
<RecsOut xsi:type="xsd:int">2 </RecsOut>
<NS1:Params xsi:NULL="true"/>
<NS1:OwnerData xsi:NULL="true"/>
</return>
</NS1:SAS_GetRecordsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>