views:

37

answers:

0

The generated webservice proxyclass for a none wcf .net webservice added an SoapAuthHeader object to every method signature. This is somewhat undesired, since the webservice has no security implemented and the additional argument is unused.

Formerly the webserviceproxy was been generated by Visual Studio but since we want to share types between webservices AND want to keep the url for the webserice in the app.config svcutil seems to be the only option.

Is there a way to let svcutil generate the proxy class for a none wcf .net webservice without a ServiceAuthHeader in the methode signature ?

EDIT:

I just realized where this unwanted SoapAuthHeader came from. Its in our very own webservice. Ofcourse its never used and can probably be deleted. So definitely not svcutils fault.

    [AuthExtension]
    [SoapHeader("Credentials")]
    public short CheckBankAccount (DTOBankAccount bankAccount)
    {...}