Soap服务中身份验证如何实现,namespace请教问题请教!!
小星星 2003-04-07 07:53:58 如何用java实现下面的请求???
身份验证,<mms:SimCreateModel></mms:SimCreateModel>怎么调用总成了
<ns1:SimCreateModel></ns1:SimCreateModel>
怎么实现??
谢谢各位了.
<?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:h="http://tempuri.org/h.xsd" xmlns:Trs="http://tempuri.org"><SOAP-ENV:Header><h:credentials xsi:type="h:authentication" SOAP-ENV:mustUnderstand="1"><userid SOAP-ENV:mustUnderstand="1">demo</userid><passwd SOAP-ENV:mustUnderstand="1">demo</passwd></h:credentials></SOAP-ENV:Header><SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><mms:SimCreateModel><baseid>Demo</baseid></mms:SimCreateModel></SOAP-ENV:Body></SOAP-ENV:Envelope>