CDI
05-24-2011, 11:06 PM
Hi all,
I have a project with 3 tiers, in BusinessLayer a I have the interface "IExampleBO" and I have a class implementing it, "ExampleBO".
I have already configured xml configs, methods attributes, etc, etc, etc, like examples given here in this forum (specially looking here http://forum.springframework.net/showthread.php?t=7509).
But I always receive a message "The header property/field ... is missing or not public".
Investigating, I realized that my public property...
public Services.AuthenticationSoapHeader AutenticaSoapHeader;
...did not pesent in proxy that was generated by Spring.NET, because my WebService is been generated by inteface and this property isnt there. So I declared this property there like an attribute with getter and setter and implemented it.
After that it seems worked, the SoapHeader apper in XML, but 2 methods appear in my WebService:
set_AutenticaSoapHeader() and
get_AutenticaSoapHeader()
And I didnt get to consume and use it. :confused:
Any information can be helpfull!
Best regards,
CDI
I have a project with 3 tiers, in BusinessLayer a I have the interface "IExampleBO" and I have a class implementing it, "ExampleBO".
I have already configured xml configs, methods attributes, etc, etc, etc, like examples given here in this forum (specially looking here http://forum.springframework.net/showthread.php?t=7509).
But I always receive a message "The header property/field ... is missing or not public".
Investigating, I realized that my public property...
public Services.AuthenticationSoapHeader AutenticaSoapHeader;
...did not pesent in proxy that was generated by Spring.NET, because my WebService is been generated by inteface and this property isnt there. So I declared this property there like an attribute with getter and setter and implemented it.
After that it seems worked, the SoapHeader apper in XML, but 2 methods appear in my WebService:
set_AutenticaSoapHeader() and
get_AutenticaSoapHeader()
And I didnt get to consume and use it. :confused:
Any information can be helpfull!
Best regards,
CDI