Hi all:
           When I use MessageBinding to send a soap message , to make the 
server side work,it must has a method name in the soap body looked just like 
this:
   <soap:Body>
           <invoke xmlns=”…”>
                     <samlp:ArtifactResolve>
                              …
                     </samlp: ArtifactResolve>
           </invoke>
    <soap:Body>
   
  The method name is <invoke>,and the parameter is <samlp:ArtifactResolve>.
   
  When I read xifre source files,I found that it is the following codes in the 
MessageBinding.java make the method name a “must”.
  readMessage(InMessage message,MessageContext context){
           …
           Binding bind = context.getBind();
           For( Iterator itr = 
msg.getMessageParts().iterator();itr.haNext();itr.next())
  {
           …
  nextEvent(message.getXMLStreamReader());
  }
           …
  }
  But what I want is a soap body which has only parameter in it. Just like this:
  <soap:Body>
                     <samlp:ArtifactResolve>
                              …
                     </samlp: ArtifactResolve>
    <soap:Body>
  I read the tutorial and the source again and again , but I did not get more 
information about this.
  Can anybody tell me how can I make this properly?
  Thanks.
   
  
                
---------------------------------
抢注雅虎免费邮箱-3.5G容量,20M附件! 

Reply via email to