Sponsors

News

Jobping Laurent Kempé MVP JetBrains Academy Member Certified ScrumMaster

Contact

My status

View Laurent Kempé's profile on LinkedIn
XING
twitter
facebook


Xbox 360



Map

Locations of visitors to this page

.NET Dudes

Family

French .NET Dudes

Friends

Jobping

Links

Tech Head Brothers

Making VSTO 2005 and WSE 3.0 playing together again

Today I am working on the security of my publishing web services for the next release of Tech Head Brothers Portal. The goal is to be able to post content on the portal using THBAuhtoring (you might get the source from Codeplex) a Word 2003 solution I developed. I wanted to build my proxy class like so:

PublishServiceWse service = new PublishServiceWse();

and then I was getting the following error:

{"WSE032: There was an error loading the microsoft.web.services3 configuration section."}

The solution went with a crazy idea: the trick is simple give full trust to your .config file.

Comments

Fabio said:

Please help me, i've got this error:

"WSE032: There was an error loading the microsoft.web.services3 configuration section."

My client code:

 Service proxy = new Service();

 proxy.SetPolicy("client");

 txtRetorno.Text = proxy.HelloWorld();

And my WEB config file:

<microsoft.web.services3>

   <diagnostics>

     <trace enabled="true" input="InputTrace.webinfo" output="OutputTrace.webinfo" />

   </diagnostics>

   <policy fileName="wse3policyCache.config" />

   <security>

     <securityTokenManager>

       <add type="SPAToken.OpTokenManager, SPAToken" namespace="schemas.xmlsoap.org/.../secext" localName="UsernameToken" />

     </securityTokenManager>

   </security>

 </microsoft.web.services3>

Policy file:

<policies xmlns="schemas.microsoft.com/.../policy">

 <extensions>

       <extension name="WSSEDraftAssertion" type="SPAToken.OpPolicy, SPAToken"/>

 </extensions>

 <policy name="client">

   <WSSEDraftAssertion userName="fabio" password="1234" operador="150" />

 </policy>

</policies>

So, with this data can you help me to solve the error WSE032?

my mail is luisfabio_sm@terra.com.br

# August 5, 2008 3:50 PM

lkempe said:

Fabio: Try to give full access to the web.config with CAS

# August 5, 2008 4:32 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)