Forum Discussion

QMarston's avatar
QMarston
New Contributor
14 years ago

Code generation of .net artifacts?

soapUIPro comes with a nice integration with the Microsoft wsdl.exe file for (code generation) of a .Net c# class file defining the web service interface.

However, my current web service requires authentication via a session cookie...that I pass using the instructions found at http://www.soapui.org/forum/viewtopic.php?f=5&t=8646. This works fine.

And the code-generation works fine for un-authenticated web services, but fails when pointing at a web service expection the session cookie.

I was wondering if there is some way I can also configure soapUIPro to pass this session cookie when executing the code generation.

Any thoughts?

2 Replies

  • Hi,

    hmm.. is this possible when just using wsdl.exe directly from the command-line? If not, then it probably won't be possible from inside soapUI - if yes then we could add the corresponding options to the code-generation dialog - could you check this out and add a corresponding feature request if it seems feasible?

    Thanks in advance!

    regards,

    /Ole
    SmartBear Software
  • QMarston's avatar
    QMarston
    New Contributor
    Thanks for reply. I look at options on wsdl.exe utility and there doesn't appear to be anything for passing cookies....oh well...