使用java发布一个soap服务,需要带有header信息,最好是使用axis2,生成的wsdl内容如下:<?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:MULTITALK="http://ecp.sag.mmconf.com/MULTITALK.wsdl">
<SOAP-ENV:Header>
<MULTITALK:HashCode></MULTITALK:HashCode>
<MULTITALK:RequestID></MULTITALK:RequestID>
<MULTITALK:SERVICEID></MULTITALK:SERVICEID>
<MULTITALK:SPID></MULTITALK:SPID>
<MULTITALK:ServiceKey></MULTITALK:ServiceKey>
<MULTITALK:TimeStamp></MULTITALK:TimeStamp>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<MULTITALK:notifyParticipantState>
<ConferenceIdentifier></ConferenceIdentifier>
<Phone></Phone>
<ParticipantId>0</ParticipantId>
<Status>Initial</Status>
<SpeakStatus>Mute</SpeakStatus>
<Orientation>ConfToTerminal</Orientation>
<StartTime></StartTime>
</MULTITALK:notifyParticipantState>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
soapaxis
<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:MULTITALK="http://ecp.sag.mmconf.com/MULTITALK.wsdl">
<SOAP-ENV:Header>
<MULTITALK:HashCode></MULTITALK:HashCode>
<MULTITALK:RequestID></MULTITALK:RequestID>
<MULTITALK:SERVICEID></MULTITALK:SERVICEID>
<MULTITALK:SPID></MULTITALK:SPID>
<MULTITALK:ServiceKey></MULTITALK:ServiceKey>
<MULTITALK:TimeStamp></MULTITALK:TimeStamp>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<MULTITALK:notifyParticipantState>
<ConferenceIdentifier></ConferenceIdentifier>
<Phone></Phone>
<ParticipantId>0</ParticipantId>
<Status>Initial</Status>
<SpeakStatus>Mute</SpeakStatus>
<Orientation>ConfToTerminal</Orientation>
<StartTime></StartTime>
</MULTITALK:notifyParticipantState>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
soapaxis
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货