I have a WSDL file and I am trying to create a web service that conforms to the WSDL.
I've created clients using WSDL files that consume an existing service, but I've never created a web service that needed to follow a specific WSDL.
I've gone as far as using:
wsdl.exe mywsdl.wsdl /l:VB /serverInterface
Now I've got a .vb file generated from that WSDL. However I am not sure what I'm supposed to do with this VB file. It looks like it's got a public interface in there but no class that implements the interface. It also has a bunch of partial classes for the types in the WSDL.
I was expecting there to be some sort of stub where I put in the code to complete the service calls. I've only created simple web services before and none of them used public interfaces so I'm unfamiliar with what is going on here.
At this point I'm not sure how I use the generated .vb file and make it work with an .asmx file and what additional coding is needed to complete the interface.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…