Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 6 of 6

Thread: Testing my first WSI XML request

  1. #1
    gast_k is offline Junior Member
    Join Date
    Aug 2009
    Posts
    4

    Default Testing my first WSI XML request

    Hi,

    I'm currently working on an existing project.

    I try to send a simple request found on
    http://manual.aspdotnetstorefront.com/wsi/ :

    <AspDotNetStorefrontImport Verbose="false">
    <Get Table="Customer" Name="Get1">
    <XmlPackage>DumpCustomer.xml.config</XmlPackage>
    <Criteria CustomerID="11111" />
    </Get>
    </AspDotNetStorefrontImport>
    The content of < microsoft.web.services3 > section in my web.config is :

    <microsoft.web.services3>
    <security>
    <securityTokenManager>
    <add type="AspDotNetStorefront.ASPDNSFUsernameTokenMana ger" namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" localName="UsernameToken"/>
    </securityTokenManager>
    </security>
    </microsoft.web.services3>
    I'm working on a localhost and when I try to acces to the url : http://localhost/myProjectName/ipx.asmx I access to "AspDotNetStorefront Import WebService" so I think that the web service works.

    However, I have this error when I send my request :

    System.Web.Services.Protocols.SoapHeaderException: Server unavailable, please try later ---> System.ApplicationException: WSE842: The service pipeline could not be created. ---> System.Configuration.ConfigurationErrorsException: WSE032: There was an error loading the microsoft.web.services3 configuration section. ---> System.Configuration.ConfigurationErrorsException: WSE040: Type AspDotNetStorefront.ASPDNSFUsernameTokenManager could not be loaded. Please check the configuration file. (C:\Inetpub\wwwroot\OSG\web.config line 285)
    at System.Configuration.BaseConfigurationRecord.Evalu ateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
    at System.Configuration.BaseConfigurationRecord.Evalu ate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
    at System.Configuration.BaseConfigurationRecord.GetSe ctionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
    at System.Configuration.BaseConfigurationRecord.GetSe ction(String configKey, Boolean getLkg, Boolean checkPermission)
    at System.Configuration.BaseConfigurationRecord.GetSe ction(String configKey)
    at System.Web.HttpContext.GetSection(String sectionName)
    at Microsoft.Web.Services3.Configuration.WebServicesC onfiguration.get_Current()
    --- End of inner exception stack trace ---
    at Microsoft.Web.Services3.Configuration.WebServicesC onfiguration.get_Current()
    at Microsoft.Web.Services3.Configuration.WebServicesC onfiguration.get_MessagingConfiguration()
    at Microsoft.Web.Services3.WseProtocol.ModifyInitiali zedExtensions(PriorityGroup group, SoapExtension[] extensions)
    at System.Web.Services.Protocols.SoapServerProtocol.I nitialize()
    --- End of inner exception stack trace ---
    --- End of inner exception stack trace ---
    Could you please explain me what can I do ?

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

  3. #3
    phete is offline Junior Member
    Join Date
    Jul 2009
    Posts
    2

    Default

    I then have a followup on this, it works fine on my live environment since it's not precompiled... but is there any way to enable this for the trial/demonstration version of storefront? Doesn't allow App_Code

  4. #4
    etessau2 is offline Junior Member
    Join Date
    Mar 2009
    Posts
    8

    Default

    KBase article solution doesn't work for your VB.NET version. You have to comment out the #If WSE 3 and the corresponding #End if at the bottom. Just an FYI since I ran into this.

  5. #5
    virtualtap is offline Senior Member
    Join Date
    May 2007
    Posts
    171

    Default

    I am facing this issue, I would like to reference the KB article but the link is dead, anyone have a link that works?
    MSX

  6. #6
    virtualtap is offline Senior Member
    Join Date
    May 2007
    Posts
    171