Does infopath require any specific SOAP Parameter style - InfoPath Dev
in

InfoPath Dev

Does infopath require any specific SOAP Parameter style

Last post 06-14-2007 12:25 PM by davidair. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-05-2007 09:39 PM

    Does infopath require any specific SOAP Parameter style

    Does InfoPath require that the web service it submits data to, use document / literal / wrapped?

    I have a (.net) web service whose operation (i.e. web method) if set to use the Bare SOAP Parameter style i.e.

    <soap:body>
       <InfoPathRoot>
     ...
       </InfoPathRoot>
    </soap:body>

    then the infopath does not seem to list it when configuring the web service submit. There is nothing displayed in the pane after selecting the operation and when i click next it says that "You did not specify any fields or groupd ....no data will be sent" or something similar

    However, if the same operation used the Wrapped SOAP parameter style i.e.


    <soap:body>
     <GenerallyMethodNameHere>

        <InfoPathRoot>
      ...
        </InfoPathRoot>


     </GenerallyMethodNameHere>
    </soap:body>


    then infopath lists it when the web service submit is being configured.

    In both cases, the parameter of the webservice is System.Xml.XmlNode i.e webmethodname(XmlNode node)

    Is this is something that is known? or have i missed something

    Thank you
    Tanveer Rashid

  • 06-14-2007 02:16 AM In reply to

    Re: Does infopath require any specific SOAP Parameter style

    Hi Tanveer,

    I'm not sure why this happens, but it looks you have found the workaround.  What wrong with wrapping the SOAP body? If you have other applications that depend on this web service, you could create a InfoPath interface method that wraps the parameters, but the body then just calls the original method.

    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 06-14-2007 12:25 PM In reply to

    Re: Does infopath require any specific SOAP Parameter style

    InfoPath is pretty picky about web services and only supports Document/Literal style. More on this (including workarounds) here:

    http://msdn2.microsoft.com/en-us/library/aa202750(office.11).aspx

    David Airapetyan / Software Services Architect
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.