加急: 请思归老大和众高手指导关于WEB SERVICE接口定义的问题-小妹先谢过了
有一个问题要请教大家一下,是这样的我们要做一个web service,功能就是接收一个xml包,解析它得到它包含的数据写入我们自己的数据库,然后再回复一个xml包给对方
下面是两个xml包的格式,能否指导我订一个web service的接口,我对.net实在是不熟,请帮帮忙,因为时间紧,所以只好向大家请教了!谢谢!还请其他各位高手抽时间指导我一下,万分感谢!!
//post包----------SyncOrderRelationReq----------------
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header>
<TransactionID xmlns="http://10.1.2.122/misc/dsmp.xsd">00110100037392</TransactionID>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<SyncOrderRelationReq xmlns="http://10.1.2.122/misc/dsmp.xsd">
<Version>1.5.0</Version>
<MsgType>SyncOrderRelationReq</MsgType>
<Send_Address>
<DeviceType>0</DeviceType>
<DeviceID>0011</DeviceID>
</Send_Address>
<Dest_Address>
<DeviceType>400</DeviceType>
<DeviceID>0</DeviceID>
</Dest_Address>
<FeeUser_ID>
<UserIDType>2</UserIDType>
<MSISDN></MSISDN>
<PseudoCode>00116000000286</PseudoCode>
</FeeUser_ID>
<DestUser_ID>
<UserIDType>2</UserIDType>
<MSISDN></MSISDN>
<PseudoCode>00116000000286</PseudoCode>
</DestUser_ID>
<LinkID>SP</LinkID>
<ActionID>1</ActionID>
<ActionReasonID>1</ActionReasonID>
<SPID>9999999</SPID>
<SPServiceID>0000000064</SPServiceID>
<AccessMode>2</AccessMode>
<FeatureStr></FeatureStr>
</SyncOrderRelationReq>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
SyncOrderRelationReq消息字段描述:
名称 类型
MsgType string
TransactionID string
Version string
Send_Address address_info_schema
Dest_Address address_info_schema
FeeUser_ID user_id_schema
DestUser_ID user_id_schema
LinkID string
ActionID integer
ActionReasonID integer
SPID string
SPServiceID string
AccessMode Integer
FeatureStr binary
//====
Schema字段描述
1、address_info_schema
字段名称 字段类型
DeviceType integer
DeviceID string
2、user_id_schema
字段名称 字段类型
UserIDType integer
MSISDN string
PseudoCode binary
//==========
//===回复包--SyncOrderRelationResp----------------------
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:x
sd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org
/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header>
<TransactionID xmlns="http://www.monternet.com/dsmp/schemas/">
00110100037392</TransactionID>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<SyncOrderRelationResp xmlns="http://www.monternet.com/dsmp/schemas/">
<Version>1.5.0</Version>
<MsgType>SyncOrderRelationResp</MsgType>
<hRet>0</hRet>
</SyncOrderRelationResp>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
SyncOrderRelationResp消息字段描述:
字段名 类型
MsgType string
TransactionID string
Version string
hRet integer