web.xml //test.xml

类别:Java 点击:0 评论:0 推荐:


web.xml

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>
  <display-name>Welcome to Tomcat</display-name>
  <description>
     Welcome to Tomcat
  </description>

 <servlet>
  <servlet-name>testprovision</servlet-name>
  <servlet-class>provision.testprovision</servlet-class>
 </servlet><servlet-mapping>
<servlet-name>testprovision</servlet-name>
<url-pattern>/provision/testprovision</url-pattern>
</servlet-mapping>
</web-app>


test.xml

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:dsmp="http://www.monternet.com/dsmp/schemas/"><SOAP-ENV:Header><dsmp:TransactionID xmlns:dsmp="dsmp_transid2http://www.monternet.com/dsmp/schemas/">dsmp_transid2</dsmp:TransactionID></SOAP-ENV:Header><SOAP-ENV:Body><dsmp:SyncOrderRelationReq xmlns:dsmp="SyncOrderRelationReq1.5.0http://www.monternet.com/dsmp/schemas/"><MsgType>SyncOrderRelationReq</MsgType><Version>1.5.0</Version><Send_Address><DeviceType xsi:type="xsd:integer">201</DeviceType><DeviceID xsi:type="xsd:string">SZ12345</DeviceID></Send_Address><Dest_Address><DeviceType xsi:type="xsd:integer">11</DeviceType><DeviceID xsi:type="xsd:string">BJ88888</DeviceID></Dest_Address><FeeUser_ID><UserIDType xsi:type="xsd:integer">1</UserIDType><MSISDN xsi:type="xsd:string">13662667675</MSISDN><PseudoCode xsi:type="xsd:base64Binary">MDExAA==</PseudoCode></FeeUser_ID><DestUser_ID><UserIDType xsi:type="xsd:integer">2</UserIDType><MSISDN xsi:type="xsd:string">13662667675</MSISDN><PseudoCode xsi:type="xsd:base64Binary">MDEyAA==</PseudoCode></DestUser_ID><LinkID>ForLulu</LinkID><ActionID>2</ActionID><ActionReasonID>7</ActionReasonID><SPID>900513</SPID><SPServiceID>06040004</SPServiceID><AccessMode>3</AccessMode><FeatureStr xsi:type="xsd:base64Binary">bmV3cwA=</FeatureStr></dsmp:SyncOrderRelationReq></SOAP-ENV:Body></SOAP-ENV:Envelope>

本文地址:http://com.8s8s.com/it/it14111.htm