Home > Net >  How to give WebService transfer some parameters?
How to give WebService transfer some parameters?

Time:09-18

I execute a method, in the webservice method need to verify some information first, and the information is change, I don't want to create a variable in a method is the receiving parameter, but want to before calling methods for webservice assignment, in webservice statement in advance some of the properties get/set, but I can't find these attributes, reference when

Me before external add web reference, call in time can call to those of the webmethod method, but can't find the statement in the get/set property, thus failed to give them the assignment, the great god, please give directions,

CodePudding user response:

According to the normal logic, interface, interceptors, you put inside the filter, or pipeline,
Otherwise, if according to your request, to invoke this property, should be placed directly on the parameters of the HelloWorld,

CodePudding user response:

reference 1st floor is nu month god reply:
according to the normal logic, interface, you put the interceptor, filter, or pipeline,
Otherwise, if according to your request, to invoke this property, should be placed directly on the parameters of the HelloWorld,

WebReference. WSKsig ws=new WSKsig ();
Ws. The HelloWorld () can be called
But the ws. ServerUrl cannot assign
You said the interceptors should how to do?
  • Related