0

i've webservice as follows

<ws2007HttpBinding>
            <binding name="ws2007HttpBinding" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
                <security mode="Message">
                    <transport clientCredentialType="Certificate" proxyCredentialType="None" realm="" />
                    <message clientCredentialType="UserName" negotiateServiceCredential="true" algorithmSuite="Default" />
                </security>
            </binding>
        </ws2007HttpBinding>

i'm provided with an username,password and a X509 certificate..i'm having trouble with configuring the soap envelope.. what information to provide and what not..what the format of the envelope should be?

Sumia
  • 381
  • 3
  • 13

1 Answers1

0

Don't use ws2007HttpBinding - it's unfeasibly hard to consume it in Java/Android. Better expose additional endpoint for the same service, using basicHttpBinding.

You can try the wsdl2ksoap project, but it's unlikely it will be able to generate correct classes ofr this type of binding.

Community
  • 1
  • 1
DarkWanderer
  • 8,739
  • 1
  • 25
  • 56
  • its configured by my client and i'm asked to fetch services from it.. i'm new to soap so i need an example – Sumia Dec 03 '13 at 10:59
  • Tell the client it will cost him either several years of paying you for development OR just a simple configuration change :) – DarkWanderer Dec 03 '13 at 11:04