CodeConnect.Net Beta


   Explore    Entry   Register  Login  
windowsxp-general
access
windows-vista-mail
windows-vista-general
windowsupdate
windowsmedia-player
access-forms
windows-live-mail-desktop
windowsxp-help_and_support
access-queries
access-modulesdaovba
access-formscoding
windows-server-sbs
windows-server-general
access-reports
windows-vista-music_pictures_video
windowsce-platbuilder
windows-live-messenger
windows-terminal_services
windows-powershell
windows-server-active_directory
access-gettingstarted
windows-mediacenter
windowsxp-hardware
windowsxp-network_web
windows-64bit-general
windows-live-sync
windows-vista-hardware_devices
windows-inetexplorer-ie6_outlookexpress
windows-group_policy
windows-server-networking
windows-vista-installation_setup
windows-vista-networking_sharing
windowsxp-basics
access-tablesdbdesign
windowsxp-perform_maintain
windows-vista-performance_maintenance
windows-networking-wireless
windows-vista-file_management
windows-inetexplorer-ie6-browser
windows-server-dns
windows-server-update_services
windows-vista-security
windows-vista-administration_accounts_passwords
windows-vista-games
windows-file_system
access-activexcontrol
windows-live-foldershare
windows-live-photogallery
access-developers-toolkitode
access-conversion




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > windows_hosting.microsoft_provisioning_system_mps Tags:
Item Type: Date Entered: 3/11/2008 12:10:23 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 49 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
"John P" <>
NewsGroup User
Empty Parameters When Calling a WebService3/11/2008 12:10:23 PM

0

Hi all. The problem I am getting is that I am calling a webservice that takes four paramters: Domain, Username, PlanName and OldPlanName yet I can see when the webservice is called that the parameters being passed to it are blank. I have an almost identical web call that uses some of the same parameters without suffering from this problem - it does not matter what order I call the two webservices, it's allways the UpgradeLinuxADStructure web call that suffers from this problem. Can anyone spot any obvious mistakes or tell me what I may be doing wrong please?

 The working web call has the following before nodes:

 <before source="data" sourcePath="domain" destination="executeData" destinationPath="requestInfo/body/soap:Body/linux:change_package/domain" mode="merge"/>
      <before source="data" sourcePath="planName" destination="executeData" destinationPath="requestInfo/body/soap:Body/linux:change_package/package" mode="merge"/>
      <before source="data" sourcePath="domain" destination="executeData" destinationPath="rollbackInfo/body/soap:Body/linux:rollback_change_package/domain" mode="merge"/>
      <before source="data" sourcePath="oldPlanName" destination="executeData" destinationPath="rollbackInfo/body/soap:Body/linux:rollback_change_package/package" mode="merge"/>

 
The web call that isn't working is as follows (in full): 

<!-- Update AD -->
    <execute namespace="HTTP and SOAP Provider" procedure="SoapRequest">
      <executeData>
        <requestInfo>
          <useTip>0</useTip>
          <url>http://internal.provisioningservice.com/WebHosting.asmx</url>
          <action>http://provisioning.co.uk/webservices/UpgradeLinuxADStructure</action>
          <userName>TEST</userName>
          <password>TEST</password>
          <body>
            <soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
              <UpgradeAD xmlns="http://provisioning.co.uk/webservices">
                <UserName/>
                <Domain/>
                <PlanName/>
                <OldPlanName/>
              </UpgradeAD>
            </soap:Body>
          </body>
        </requestInfo>
        <rollbackInfo>
          <useTip>0</useTip>
          <url>http://internal.provisioningservice.com/WebHosting.asmx</url>
          <action>http://provisioning.co.uk/webservices/UpgradeLinuxADStructure</action>
          <userName>TEST</userName>
          <password>TEST</password>
          <body>
            <soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
              <RollBackAD xmlns="http://provisioning.co.uk/webservices">
                <UserName/>
                <Domain/>
                <PlanName/>
                <OldPlanName/>
              </RollBackAD>
            </soap:Body>
          </body>
        </rollbackInfo>
      </executeData>
      <before source="data" sourcePath="username" destination="executeData" destinationPath="requestInfo/body/soap:Body/UpgradeAD/UserName" mode="merge"/>
      <before source="data" sourcePath="username" destination="executeData" destinationPath="rollbackInfo/body/soap:Body/RollBackAD/UserName" mode="merge"/>
      <before source="data" sourcePath="domain" destination="executeData" destinationPath="requestInfo/body/soap:Body/UpgradeAD/Domain" mode="merge"/>
      <before source="data" sourcePath="domain" destination="executeData" destinationPath="rollbackInfo/body/soap:Body/RollBackAD/Domain" mode="merge"/>
      <before source="data" sourcePath="planName" destination="executeData" destinationPath="requestInfo/body/soap:Body/UpgradeAD/PlanName" mode="merge"/>
      <before source="data" sourcePath="planName" destination="executeData" destinationPath="rollbackInfo/body/soap:Body/RollBackAD/PlanName" mode="merge"/>
      <before source="data" sourcePath="oldPlanName" destination="executeData" destinationPath="requestInfo/body/soap:Body/UpgradeAD/OldPlanName" mode="merge"/>
      <before source="data" sourcePath="oldPlanName" destination="executeData" destinationPath="rollbackInfo/body/soap:Body/RollBackAD/OldPlanName" mode="merge"/>
      <after source="executeData" sourcePath="result" destination="data" destinationPath="UpgradeResult" mode="merge" />
      <after source="executeData" sourcePath="result" destination="data" destinationPath="UpgradeResultSuccess" mode="merge" >
        <xsl:template match="*">
          <UpgradeResultSuccess>
            <xsl:value-of select="substring-before(substring-after(., '&lt;result&gt;'), '&lt;/result&gt;')"/>
          </UpgradeResultSuccess>
        </xsl:template>
      </after>
    </execute>

"aqeel asghar"
NewsGroup User
Re: Empty Parameters When Calling a WebService3/13/2008 6:40:24 AM

0

John P:
<body>
            <soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
              <UpgradeAD xmlns="http://provisioning.co.uk/webservices">
                <UserName/>
                <Domain/>
                <PlanName/>
                <OldPlanName/>
              </UpgradeAD>
            </soap:Body>
          </body>
 

 

John P:
<soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
              <RollBackAD xmlns="http://provisioning.co.uk/webservices">
                <UserName/>
                <Domain/>
                <PlanName/>
                <OldPlanName/>
              </RollBackAD>
            </soap:Body>
 

 

UserName, Domain, PlanName, OldPlanName u r passing these parameters empty. some of these are required parameters, and they should be populated b4 calling web service.

 

 

 


Aqeel Asghar
"John P" <>
NewsGroup User
Re: Empty Parameters When Calling a WebService3/14/2008 11:34:24 AM

0

Are they not being populated before the execution of the soap request by this?

  

<before source="data" sourcePath="username" destination="executeData" destinationPath="requestInfo/body/soap:Body/UpgradeAD/UserName" mode="merge"/>
      <before source="data" sourcePath="username" destination="executeData" destinationPath="rollbackInfo/body/soap:Body/RollBackAD/UserName" mode="merge"/>
      <before source="data" sourcePath="domain" destination="executeData" destinationPath="requestInfo/body/soap:Body/UpgradeAD/Domain" mode="merge"/>
      <before source="data" sourcePath="domain" destination="executeData" destinationPath="rollbackInfo/body/soap:Body/RollBackAD/Domain" mode="merge"/>
      <before source="data" sourcePath="planName" destination="executeData" destinationPath="requestInfo/body/soap:Body/UpgradeAD/PlanName" mode="merge"/>
      <before source="data" sourcePath="planName" destination="executeData" destinationPath="rollbackInfo/body/soap:Body/RollBackAD/PlanName" mode="merge"/>
      <before source="data" sourcePath="oldPlanName" destination="executeData" destinationPath="requestInfo/body/soap:Body/UpgradeAD/OldPlanName" mode="merge"/>
      <before source="data" sourcePath="oldPlanName" destination="executeData" destinationPath="rollbackInfo/body/soap:Body/RollBackAD/OldPlanName" mode="merge"/>
 
3 Items, 1 Pages 1 |< << Go >> >|







Similar:

append query to another database

report query

report query / filters

using a vba function in the criteria of a query

transpose rows to columns in access.

crosstab returns blank fields

query to update a table

how can i return just one row with a query?

outstanding drafts

combobox in query

query within a query

show a picture on a form specific to each record - jcw

nested iif function

access 2007 - not recognising dates under "last" in a query

process to modify multiple queries simultaneously

automatically adding data between two dates.

matched query

outer join not working

where clause is not working

create update query for remaining records

how to get all constraint name ,type,tablename with query

query to pull between two dates

help me

how to find previous, current and future values

update crosstab

characters found at end of sql error

split db

convert date

union query or outer joins do not create desired results

update table with values from another table

sort alpha numeric

query for multiple due dates

search within a string and return text between two characters

how do i obtain data for friday & saturday on a monday

cross tab query outer join

many tables

multiple records in a query

choose the highest and second highest from three field

crosstab with conditional sum()

dcount

can only name folders with 8 letters or less how can i extend it .

iif statement

how to add a day on a select statment

query out transaction

last record by text field of an unsorted table

year beginning date

characters found at end of sql error-repost

unique count

subquery help

filtering records for 2 types of dates

   
  Privacy | Contact Us
All Times Are GMT