Loading Sharepoint Web Services XML List into WPF DataGrid

 trying to populate my DataGrid with the returned list from a Sharepoint Web Services, all of the tutorials/guides I've found go about doing this with a XAML file.
This is the code I'm using to pull the XML,
private String GetListNode()
webService.Lists siteClient = new webService.Lists();
System.Net.NetworkCredential passCredentials = new System.Net.NetworkCredential("username", "password", "domain");
siteClient.Credentials = passCredentials;
XmlNode getNode = siteClient.GetListItems("Tasks", string.Empty, null, null, string.Empty, null, null);
return getNode.OuterXml;
This returns the pages XML, within this page I'd like to grab these Items,
ows_ID, ows_Client, ows_AssignedTo, ows_LinkTitle, ows_Status, ows_Priority, ows_DueDate
I'd like to make these items Columns for the DataGrid, then having the data populate. All help will be appreciated, thank you in advanced.
This is not the full XML, this is a small piece,
<listitems
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset"
xmlns:z="#RowsetSchema"
xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<rs:data ItemCount="691">
<z:row ows_Attachments="0" ows_ID="2108" ows_Task_x0020_Type="Issue" ows_Client="City University of New York" ows_Area="2.0 Updates" ows_AssignedTo="31;#Heidy Valdes" ows_LinkTitle="QSNY Portal v2.0" ows_Status="Testing" ows_Priority="1" ows_DueDate="2014-04-21 00:00:00" ows_Created="2014-01-15 16:51:38" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="2108;#{1A24305B-DD42-4552-92D6-476C8A2E4583}" ows_FSObjType="2108;#0" ows_Created_x0020_Date="2108;#2014-01-15 16:51:38" ows_Body="I think we can close this task." ows_FileLeafRef="2108;#2108_.000" ows_Group_x0020_Task="Portal" ows_FileRef="2108;#apps/mwels/Lists/Tasks/2108_.000" ows_Title="QSNY Portal v2.0" ows_Owner="Carlos M Valdes" ows_owshiddenversion="5" />
<z:row ows_Attachments="0" ows_ID="2786" ows_Task_x0020_Type="Time Reporting" ows_Client="WELS Systems Foundation" ows_Area="Time Reporting" ows_AssignedTo="30;#Eric Bonneman" ows_LinkTitle="WELS University" ows_Status="Active" ows_Priority="On Going" ows_DueDate="2099-01-01 00:00:00" ows_Created="2014-08-04 11:13:21" ows_WELS_x0020_Version="N/A" ows_Client_x0020_Issue="0" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="2786;#{3640CD6F-BE02-41C2-B174-9EB36EDDA27C}" ows_FSObjType="2786;#0" ows_Created_x0020_Date="2786;#2014-08-04 11:13:21" ows_Body="&lt;div&gt;Task requested by Eric&lt;/div&gt;" ows_FileLeafRef="2786;#2786_.000" ows_Group_x0020_Task="WELS" ows_FileRef="2786;#apps/mwels/Lists/Tasks/2786_.000" ows_Title="WELS University" ows_Owner="Ana Sejeck" ows_owshiddenversion="1" />
<z:row ows_Attachments="0" ows_ID="2792" ows_Task_x0020_Type="Time Reporting" ows_Client="CSC of Palm Beach County" ows_Area="Time Reporting" ows_AssignedTo="34;#Ana Sejeck" ows_LinkTitle="WELS Support for CSC of Palm Beach" ows_Status="Assigned" ows_Priority="On Going" ows_DueDate="2099-08-05 00:00:00" ows_Created="2014-08-05 14:42:01" ows_WELS_x0020_Version="N/A" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="2792;#{E8EB676C-D124-4D4F-890A-4AE8B4E2B135}" ows_FSObjType="2792;#0" ows_Created_x0020_Date="2792;#2014-08-05 14:42:01" ows_Body="&lt;div&gt;support task for PB&lt;/div&gt;" ows_FileLeafRef="2792;#2792_.000" ows_Group_x0020_Task="WELS" ows_FileRef="2792;#apps/mwels/Lists/Tasks/2792_.000" ows_Title="WELS Support for CSC of Palm Beach" ows_Owner="WELS Team" ows_owshiddenversion="1" />
<z:row ows_Attachments="0" ows_ID="2937" ows_Task_x0020_Type="Time Reporting" ows_Client="Orange County" ows_Area="Time Reporting" ows_AssignedTo="34;#Ana Sejeck" ows_LinkTitle="Orange County WELS Support" ows_Status="Active" ows_Priority="On Going" ows_DueDate="2099-12-31 00:00:00" ows_Created="2014-09-10 16:55:58" ows_WELS_x0020_Version="N/A" ows_Client_x0020_Issue="0" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="2937;#{5788B8F0-BE12-40E1-BEDE-3A5D026CC973}" ows_FSObjType="2937;#0" ows_Created_x0020_Date="2937;#2014-09-10 16:55:58" ows_Body="updated title" ows_FileLeafRef="2937;#2937_.000" ows_Group_x0020_Task="WELS" ows_FileRef="2937;#apps/mwels/Lists/Tasks/2937_.000" ows_Title="Orange County WELS Support" ows_Owner="Muriel Wong" ows_owshiddenversion="2" />
<z:row ows_Attachments="0" ows_ID="1385" ows_Task_x0020_Type="Support" ows_Client="WELS Systems Foundation" ows_Area="Training" ows_AssignedTo="35;#Bobbi Silber" ows_LinkTitle="Training" ows_Status="Active" ows_Priority="On Going" ows_DueDate="2099-12-31 00:00:00" ows_Created="2013-06-11 12:30:18" ows_WELS_x0020_Version="N/A" ows_Client_x0020_Issue="support" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="1385;#{7B0C9B91-BDE2-435E-8F57-F08AC44A4BCF}" ows_FSObjType="1385;#0" ows_Created_x0020_Date="1385;#2013-06-11 12:30:18" ows_Body="&lt;div&gt;updated priority to &amp;quot;on going&amp;quot;&lt;/div&gt;" ows_FileLeafRef="1385;#1385_.000" ows_Group_x0020_Task="WELS" ows_FileRef="1385;#apps/mwels/Lists/Tasks/1385_.000" ows_Title="Training" ows_Owner="Bobbi SIlber" ows_owshiddenversion="5" />
<z:row ows_Attachments="0" ows_ID="1925" ows_Task_x0020_Type="Support" ows_Client="WELS Systems Foundation" ows_Area="Training" ows_AssignedTo="44;#Axel Camacho" ows_LinkTitle="Training " ows_Status="Active" ows_Priority="On Going" ows_DueDate="2099-12-31 00:00:00" ows_Created="2013-11-14 17:13:29" ows_WELS_x0020_Version="N/A" ows_Client_x0020_Issue="support" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="1925;#{37669445-7AA8-430F-AA17-925B778E435D}" ows_FSObjType="1925;#0" ows_Created_x0020_Date="1925;#2013-11-14 17:13:29" ows_Body="&lt;div&gt;updated priority&lt;/div&gt;" ows_FileLeafRef="1925;#1925_.000" ows_Group_x0020_Task="WELS" ows_FileRef="1925;#apps/mwels/Lists/Tasks/1925_.000" ows_Title="Training " ows_Owner="Carlos" ows_owshiddenversion="2" />
<z:row ows_Attachments="1" ows_ID="1615" ows_Task_x0020_Type="Deliverable" ows_Client="Mississippi Department of Human Services" ows_Area="Wireframes" ows_AssignedTo="54;#Alejandro Mulet" ows_LinkTitle="Director Self Assessment Form " ows_Status="Assigned" ows_Priority="1" ows_DueDate="2013-08-31 00:00:00" ows_Created="2013-08-15 20:49:25" ows_WELS_x0020_Version="N/A" ows_Client_x0020_Issue="deliverable" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="1615;#{E377332A-6C82-4CF0-A156-D0C69C69084B}" ows_FSObjType="1615;#0" ows_Created_x0020_Date="1615;#2013-08-15 20:49:25" ows_Body="Alejandro incase you do not have this for the Mississippi portal." ows_FileLeafRef="1615;#1615_.000" ows_Group_x0020_Task="WELS" ows_FileRef="1615;#apps/mwels/Lists/Tasks/1615_.000" ows_Title="Director Self Assessment Form " ows_Owner="carlos valdes" ows_owshiddenversion="7" />
<z:row ows_Attachments="0" ows_ID="1617" ows_Task_x0020_Type="Deliverable" ows_Client="Mississippi Department of Human Services" ows_Area="Wireframes" ows_AssignedTo="31;#Heidy Valdes" ows_LinkTitle="Practitioner Profile " ows_Status="Assigned" ows_Priority="1" ows_DueDate="2013-09-15 00:00:00" ows_Created="2013-08-15 20:52:29" ows_WELS_x0020_Version="2.9 (future development)" ows_Client_x0020_Issue="deliverable" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="1617;#{321B08EF-CE10-4EF6-B19E-C8E9DD16852E}" ows_FSObjType="1617;#0" ows_Created_x0020_Date="1617;#2013-08-15 20:52:29" ows_Body="What do we need for this? Is this still relevant?" ows_FileLeafRef="1617;#1617_.000" ows_Group_x0020_Task="WELS" ows_FileRef="1617;#apps/mwels/Lists/Tasks/1617_.000" ows_Title="Practitioner Profile " ows_Owner="carlos valdes" ows_owshiddenversion="4" />
<z:row ows_Attachments="0" ows_ID="1619" ows_Task_x0020_Type="Deliverable" ows_Client="Mississippi Department of Human Services" ows_Area="Wireframes" ows_AssignedTo="31;#Heidy Valdes" ows_LinkTitle="Checklist verification checkboxes " ows_Status="Assigned" ows_Priority="1" ows_DueDate="2013-10-15 00:00:00" ows_Created="2013-08-15 20:56:25" ows_WELS_x0020_Version="2.9 (future development)" ows_Client_x0020_Issue="deliverable" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="1619;#{3C4C89E0-B2C5-4BAF-BBA0-8EB9735F53C9}" ows_FSObjType="1619;#0" ows_Created_x0020_Date="1619;#2013-08-15 20:56:25" ows_Body="&lt;div&gt;changing to wireframes&lt;/div&gt;" ows_FileLeafRef="1619;#1619_.000" ows_Group_x0020_Task="WELS" ows_FileRef="1619;#apps/mwels/Lists/Tasks/1619_.000" ows_Title="Checklist verification checkboxes " ows_Owner="carlos valdes" ows_owshiddenversion="4" />
<z:row ows_Attachments="1" ows_ID="1710" ows_Task_x0020_Type="Deliverable" ows_Client="Bay Area" ows_Area="Wireframes" ows_AssignedTo="24;#Mike Cullen" ows_LinkTitle="Bay and Mississippi Wireframe for children w/ disabilties" ows_Status="Testing" ows_Priority="1" ows_DueDate="2013-10-04 00:00:00" ows_Created="2013-09-25 16:30:08" ows_WELS_x0020_Version="2.9.7" ows_Client_x0020_Issue="0" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="1710;#{FDDF3E62-501D-489E-A1FD-6265F3FB4757}" ows_FSObjType="1710;#0" ows_Created_x0020_Date="1710;#2013-09-25 16:30:08" ows_Body="Modified the wels project (RoomMaint user control and the RoomMaintSave webservice, also modified the db project to add a new table and the stored procedure to modified this table and get the data)." ows_FileLeafRef="1710;#1710_.000" ows_Group_x0020_Task="WELS" ows_FileRef="1710;#apps/mwels/Lists/Tasks/1710_.000" ows_Title="Bay and Mississippi Wireframe for children w/ disabilties" ows_Owner="Bobbi" ows_owshiddenversion="12" />
<z:row ows_Attachments="1" ows_ID="2369" ows_Task_x0020_Type="Deliverable" ows_Client="WELS Systems Foundation" ows_Area="Wireframes" ows_AssignedTo="43;#James Minkler" ows_LinkTitle="New Dashboard Menus" ows_Status="Assigned" ows_Priority="10" ows_DueDate="2014-05-30 00:00:00" ows_Created="2014-03-21 14:27:52" ows_WELS_x0020_Version="2.9.7" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="2369;#{48D64DF5-9E9D-46F6-AF50-936761C87AA9}" ows_FSObjType="2369;#0" ows_Created_x0020_Date="2369;#2014-03-21 14:27:52" ows_Body="Updating priority." ows_FileLeafRef="2369;#2369_.000" ows_Group_x0020_Task="WELS" ows_FileRef="2369;#apps/mwels/Lists/Tasks/2369_.000" ows_Title="New Dashboard Menus" ows_Owner="Carlos" ows_owshiddenversion="3" />
<z:row ows_Attachments="0" ows_ID="1307" ows_Task_x0020_Type="Deliverable" ows_Client="Miami Coalition of Partners" ows_Area="Wireframes" ows_AssignedTo="31;#Heidy Valdes" ows_LinkTitle="Design Wireframes for upgraded interface of Site tabs" ows_Status="Assigned" ows_Priority="2" ows_DueDate="2013-07-31 00:00:00" ows_Created="2013-05-03 15:49:30" ows_WELS_x0020_Version="3.0 (next release)" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="1307;#{49E1699C-25B5-4D67-B48F-BA2F13687CE3}" ows_FSObjType="1307;#0" ows_Created_x0020_Date="1307;#2013-05-03 15:49:30" ows_Body="&lt;div&gt;changing status&lt;/div&gt;" ows_FileLeafRef="1307;#1307_.000" ows_Group_x0020_Task="WELS" ows_FileRef="1307;#apps/mwels/Lists/Tasks/1307_.000" ows_Title="Design Wireframes for upgraded interface of Site tabs" ows_Owner="heidy" ows_owshiddenversion="5" />
<z:row ows_Attachments="0" ows_ID="2136" ows_Task_x0020_Type="Deliverable" ows_Client="Miami Coalition of Partners" ows_Area="Wireframes" ows_AssignedTo="31;#Heidy Valdes" ows_LinkTitle="Document Viewer" ows_Status="Assigned" ows_Priority="2" ows_DueDate="2014-03-28 00:00:00" ows_Created="2014-01-23 13:29:36" ows_WELS_x0020_Version="2.9 (future development)" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="2136;#{DCE4F91B-C794-457B-BA97-F1874054D55D}" ows_FSObjType="2136;#0" ows_Created_x0020_Date="2136;#2014-01-23 13:29:36" ows_Body="&lt;div&gt;Create wireframes for a document viewer that is used in conjunction with the document library. This viewer would be used with pdf, docs, or image files&lt;/div&gt;" ows_FileLeafRef="2136;#2136_.000" ows_Group_x0020_Task="WELS" ows_FileRef="2136;#apps/mwels/Lists/Tasks/2136_.000" ows_Title="Document Viewer" ows_Owner="heidy" ows_owshiddenversion="1" />
<z:row ows_Attachments="0" ows_ID="2699" ows_Task_x0020_Type="Deliverable" ows_Client="New Mexico FOCUS" ows_Area="Wireframes" ows_AssignedTo="31;#Heidy Valdes" ows_LinkTitle="Admin Portal Wireframes" ows_Status="On Hold" ows_Priority="2" ows_DueDate="2014-07-31 00:00:00" ows_Created="2014-07-14 10:38:02" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="2699;#{C43EBA38-1517-4026-AF12-33B56530EAF9}" ows_FSObjType="2699;#0" ows_Created_x0020_Date="2699;#2014-07-14 10:38:02" ows_Body="&lt;div&gt;I was told to put this on hold by Carlos&lt;/div&gt;" ows_FileLeafRef="2699;#2699_.000" ows_Group_x0020_Task="Portal" ows_FileRef="2699;#apps/mwels/Lists/Tasks/2699_.000" ows_Title="Admin Portal Wireframes" ows_Owner="James Minkler" ows_owshiddenversion="2" />
<z:row ows_Attachments="1" ows_ID="1462" ows_Task_x0020_Type="Deliverable" ows_Client="City University of New York" ows_Area="Wireframes" ows_AssignedTo="54;#Alejandro Mulet" ows_LinkTitle="Funding Tab Request " ows_Status="Assigned" ows_Priority="5" ows_DueDate="2013-07-31 00:00:00" ows_Created="2013-07-17 16:08:13" ows_Client_x0020_Issue="deliverable" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="1462;#{DFD3D4D3-C37C-4C8A-9074-8DA8D0B149C9}" ows_FSObjType="1462;#0" ows_Created_x0020_Date="1462;#2013-07-17 16:08:13" ows_Body="Make the purpose dropdown a multi-selection, if too many items are selected us a tooltip to show the full list on the table." ows_FileLeafRef="1462;#1462_.000" ows_Group_x0020_Task="WELS" ows_FileRef="1462;#apps/mwels/Lists/Tasks/1462_.000" ows_Title="Funding Tab Request " ows_Owner="ariel davis" ows_owshiddenversion="13" />
<z:row ows_Attachments="1" ows_ID="1955" ows_Task_x0020_Type="Issue" ows_Client="City University of New York" ows_Area="Wireframes" ows_AssignedTo="53;#Julio Garcia" ows_LinkTitle="Icon Set: New York" ows_Status="Active" ows_Priority="8" ows_DueDate="2014-01-03 00:00:00" ows_Created="2013-12-02 14:11:54" ows_WELS_x0020_Version="2.9.7" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="1955;#{0EE49957-9903-4E67-AC9A-C305D9A8972F}" ows_FSObjType="1955;#0" ows_Created_x0020_Date="1955;#2013-12-02 14:11:54" ows_Body="updated status field" ows_FileLeafRef="1955;#1955_.000" ows_Group_x0020_Task="WELS" ows_FileRef="1955;#apps/mwels/Lists/Tasks/1955_.000" ows_Title="Icon Set: New York" ows_Owner="heidy valdes" ows_owshiddenversion="6" />
<z:row ows_Attachments="1" ows_ID="2500" ows_Task_x0020_Type="Issue" ows_Client="Miami Coalition of Partners" ows_Area="Wireframes" ows_AssignedTo="31;#Heidy Valdes" ows_LinkTitle="update the site tab’s re-design wireframes" ows_Status="Assigned" ows_Priority="Not Prioritized" ows_DueDate="2014-05-20 00:00:00" ows_Created="2014-05-06 11:27:45" ows_WELS_x0020_Version="2.9 (future development)" ows_Client_x0020_Issue="Deliverable" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="2500;#{1D043527-A1A2-438A-846F-29FFC844D444}" ows_FSObjType="2500;#0" ows_Created_x0020_Date="2500;#2014-05-06 11:27:45" ows_Body=" Heidy will update the site tab’s re-design wireframes to include this new field" ows_FileLeafRef="2500;#2500_.000" ows_Group_x0020_Task="WELS" ows_FileRef="2500;#apps/mwels/Lists/Tasks/2500_.000" ows_Title="update the site tab’s re-design wireframes" ows_Owner="Lisa Pittman" ows_owshiddenversion="1" />
<z:row ows_Attachments="0" ows_ID="3343" ows_Task_x0020_Type="Issue" ows_Client="New Mexico FOCUS" ows_Area="Wireframes" ows_AssignedTo="53;#Julio Garcia" ows_LinkTitle="On Start Now Screen: Update the text" ows_Status="Assigned" ows_Priority="Not Prioritized" ows_DueDate="2014-12-31 00:00:00" ows_Created="2014-12-08 21:00:05" ows_WELS_x0020_Version="N/A" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="3343;#{BAC06875-8B2E-4D86-BAAE-A76C8F4EA650}" ows_FSObjType="3343;#0" ows_Created_x0020_Date="3343;#2014-12-08 21:00:05" ows_Body="Update the 2nd sentence to say, &amp;quot;If you would like to begin entering information, click the Start Now button.&amp;quot; " ows_FileLeafRef="3343;#3343_.000" ows_Group_x0020_Task="Portal" ows_FileRef="3343;#apps/mwels/Lists/Tasks/3343_.000" ows_Title="On Start Now Screen: Update the text" ows_Owner="Jame" ows_owshiddenversion="1" />
<z:row ows_Attachments="1" ows_ID="1078" ows_Task_x0020_Type="Support" ows_Client="WELS Systems Foundation" ows_Area="Wireframes" ows_AssignedTo="31;#Heidy Valdes" ows_LinkTitle="WELS User Standard Wireframes" ows_Status="Active" ows_Priority="On Going" ows_DueDate="2099-12-31 00:00:00" ows_Created="2013-01-29 09:43:09" ows_WELS_x0020_Version="N/A" ows_Client_x0020_Issue="support" ows__ModerationStatus="0" ows__Level="1" ows_UniqueId="1078;#{B9391C51-0D82-4EC8-BA79-74C0AC2D39EB}" ows_FSObjType="1078;#0" ows_Created_x0020_Date="1078;#2013-01-29 09:43:09" ows_Body="&lt;div&gt;updated client issue field&lt;/div&gt;" ows_FileLeafRef="1078;#1078_.000" ows_Group_x0020_Task="WELS" ows_FileRef="1078;#apps/mwels/Lists/Tasks/1078_.000" ows_Title="WELS User Standard Wireframes" ows_Owner="Heidy Valdes" ows_owshiddenversion="8" />
</rs:data>

The XML is in a friendly format to read into a DataSet, which can then be bound to your data grid control.
You will need to clean up some of the data. Data from dropdowns, people pickers, etc. will have an "id" prefix. (31;#Heidy Valdes) You could cleanup the XML first, clean the data in the column of the data table or write an event handler on
the load event of the grid.
Load the XML to the grid something like:
XmlTextReader reader = new XmlTextReader(yourXMLnode.OuterXml, XmlNodeType.Element, null);
DataSet ds = new DataSet();
ds.ReadXml(reader);
yourGrid.DataSource = ds.Tables[1];
Note: ds.Tables[0] contains the record count.
Mike Smith TechTrainingNotes.blogspot.com
Books:
SharePoint 2007 2010 Customization for the Site Owner,
SharePoint 2010 Security for the Site Owner

Similar Messages

  • How to pass credentials/saml token access sharepoint web service ex:lists.asmx when sharepoint has single sign on with claims based authentication

    How to pass credentials/saml token exchange to the sharepoint web service ex:lists.asmx when sharepoint has single sign on with claims based authentication 
    Identity provider here is Oracle identity provider 
    harika kakkireni

    Hi,
    The following materials for your reference:
    Consuming List.asmx on a claims based sharepoint site
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/f965c1ee-4017-4066-ad0f-a4f56cd0e8da/consuming-listasmx-on-a-claims-based-sharepoint-site?forum=sharepointcustomizationprevious
    Sharepoint Claims based authentication and Single Sign on
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/2dfc1fdc-abc0-4fad-a414-302f52c1178b/sharepoint-claims-based-authentication-and-single-sign-on?forum=sharepointadminprevious
    Sharepoint Claim Based Authentication Web Service issuehttp://social.msdn.microsoft.com/Forums/office/en-US/dd4cc581-863c-439f-938f-948809dd18db/sharepoint-claim-based-authentication-web-service-issue?forum=sharepointgeneralprevious
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Connect to SharePoint web service using the XML / Web Service connector

    Hi experts,
    I am currently trying to display my SharePoint list in Crystal Report. Therefore my plan is to use a SharePoint web service to get the data and paste them to the Crystal Report.
    Is it possible to use the "XML and Web services" connector of the Crystal Reports database expert?
    When I enter the web service URL, for instance:
    https://[url]/_vti_bin/lists.asmx?wsdl
    and click next... I have to enter the web service credentials.
    On the next page I have to enter Service, Port and Method.
    Do I have to enter the service URL again here?
    What If, there is no port? Can I leave that field empty?
    I know the methods, but where can I add the mandatory parameters?
    Thanks for any helps and comments!
    Sebastian

    Hi Ananth,
    thank you, but this document does not help at all.
    We are using Crystal Reports 2008 SP2.
    We want to use the Web Service Connector.
    What I need is more informationen about the Web service connect. For example - the connection in Microsoft InfoPath is much easier - there I don't have to enter a port and can choose the methods from a list.
    Is it possible to use the Crystal web service connector for MS SharePoint Webservices?
    Or must I use the Crystal SDK to carry out a connection?
    Best regards,
    Sebastian

  • How to execute XML batch commands using SharePoint Web services or Client Object Model

    Hi,
    I have a requirement to execute some batch commands to update SharePoint View Style, how can i do it using SharePoint webservices or SharePoint Client Object model.
          I need to execute the following Batch command over a particular web.
    <Method ID="UpdateView">
      <SetVar Name="Cmd">UpdateView</SetVar>
      <SetList Scope="Request">{GUID of List}</SetList>
      <SetVar Name="View">{GUID of View}</SetVar>  
      <SetVar Name="ViewStyle">6</SetVar>
      <SetVar Name="RowLimit">100</SetVar>
      <SetVar Name="Paged">TRUE</SetVar>
    </Method>

    Hi
    I tried it already... But UpdateView Method in the Views.asmx and Lists.asmx, both are not supporting for updating the style of the view (like Boxed, Newsletter...).
    If you have any code sample which will do this job with any of the SharePoint web services, please share it..

  • Fault elt in web-services.xml NOT WORKING

    We are trying to capture an invalid message coming into our service before our
    service actually processes it. Per WLS7 documentation, it provides the ability
    to add a <fault> elt under the <params> elt in web-services.xml to perform that.
    Here's how the operations portion of our web-services.xml looks like:
    <operations>
    <operation method="echo(java.lang.String)" component="jcComp0" name="echo"
    handler-chain="diagnosticChain">
    <params>
    <param location="body" class-name="java.lang.String" style="in" name="echoString"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:string">
    </param>
    <return-param location="body" class-name="java.lang.String" name="Result"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:string">
    </return-param>
         <fault name="InvalidMessageException" class-name="com.gmacfs.routeone.diagnostic.InvalidMessageException"/>
    </params>
    </operation>
    </operations>
    However, when we tried doing that, we got a BIG set of exception while trying
    to build our client. It looks as follows:
    client:
    [clientgen] Generating client jar for diagnostic.ear ...
    [clientgen] Could not read Web Service deployment descriptor
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.java:112)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:270)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:182)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:601)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:560)
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
    [clientgen] --- Nested Exception ---
    [clientgen] Could not read Web Service deployment descriptor
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.getWebServiceDD(EARClientGen.java:332)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.java:110)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:270)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:182)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:601)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:560)
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
    [clientgen] --- Nested Exception ---
    [clientgen] weblogic.webservice.dd.DDProcessingException: Could not find required
    attribute "type" for element <fault> (Line 28, Column 8)
    [clientgen] at weblogic.webservice.dd.ParsingHelper.getRequiredAttribute(ParsingHelper.java:287)
    [clientgen] at weblogic.webservice.dd.DDLoader.processFaultElement(DDLoader.java:1195)
    [clientgen] at weblogic.webservice.dd.DDLoader.processFaultElements(DDLoader.java:1166)
    [clientgen] at weblogic.webservice.dd.DDLoader.processParamsElement(DDLoader.java:1004)
    [clientgen] at weblogic.webservice.dd.DDLoader.processOperationElement(DDLoader.java:977)
    [clientgen] at weblogic.webservice.dd.DDLoader.processOperationElements(DDLoader.java:853)
    [clientgen] at weblogic.webservice.dd.DDLoader.processOperationsElement(DDLoader.java:841)
    [clientgen] at weblogic.webservice.dd.DDLoader.processWebServiceElement(DDLoader.java:378)
    [clientgen] at weblogic.webservice.dd.DDLoader.processWebServiceElements(DDLoader.java:283)
    [clientgen] at weblogic.webservice.dd.DDLoader.processWebServicesElement(DDLoader.java:271)
    [clientgen] at weblogic.webservice.dd.DDLoader.load(DDLoader.java:249)
    [clientgen] at weblogic.webservice.util.WebServiceWarFile.getWSDD(WebServiceWarFile.java:79)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.getWebServiceDD(EARClientGen.java:330)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.java:110)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:270)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:182)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:601)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:560)
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
    [clientgen] --------------- nested within: ------------------
    [clientgen] weblogic.webservice.util.WebServiceJarException: Could not load deployment
    descriptor - with nested exception:
    [clientgen] [weblogic.webservice.dd.DDProcessingException: Could not find required
    attribute "type" for element <fault> (Line 28, Column 8)]
    [clientgen] at weblogic.webservice.util.WebServiceWarFile.getWSDD(WebServiceWarFile.java:81)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.getWebServiceDD(EARClientGen.java:330)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.java:110)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:270)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:182)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:601)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:560)
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
    BUILD FAILED
    Anybody has any ideas?
    Thanks much,
    sami

    Manoj,
    Thanks a lot, THAT DID IT... two very helpful hints from you in a row.
    By the way, one thing worth mentioning is that the Weblogic documentation that
    we explored did not have enough information about that issue.
    Thanks again.
    sami
    "manoj cheenath" <[email protected]> wrote:
    Buried deep in the stack trace, is this little
    detail:
    Could not find required
    attribute "type" for element <fault> (Line 28, Column 8)
    So the correct DD should look something like:
    <fault type="typeNS:string"
    xmlns:typeNS="http://www.w3.org/2001/XMLSchema"
    class-name="tutorial.sample9.HelloWorldException"
    name="HelloWorldException">
    </fault>
    Also, check out this example:
    http://manojc.com/?sample9
    There is a know problem: WLS can not handle
    exceptions that contain complex data types.
    This will be fixed in SP1.
    Regards,
    -manoj
    http://manojc.com
    "sami titi" <[email protected]> wrote in message
    news:[email protected]...
    We are trying to capture an invalid message coming into our servicebefore
    our
    service actually processes it. Per WLS7 documentation, it providesthe
    ability
    to add a <fault> elt under the <params> elt in web-services.xml toperform
    that.
    Here's how the operations portion of our web-services.xml looks like:
    <operations>
    <operation method="echo(java.lang.String)" component="jcComp0"name="echo"
    handler-chain="diagnosticChain">
    <params>
    <param location="body" class-name="java.lang.String" style="in"name="echoString"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:string">
    </param>
    <return-param location="body" class-name="java.lang.String"name="Result"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:string">
    </return-param>
    <fault name="InvalidMessageException"class-name="com.gmacfs.routeone.diagnostic.InvalidMessageException"/>
    </params>
    </operation>
    </operations>
    However, when we tried doing that, we got a BIG set of exception whiletrying
    to build our client. It looks as follows:
    client:
    [clientgen] Generating client jar for diagnostic.ear ...
    [clientgen] Could not read Web Service deployment descriptor
    [clientgen] atweblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.ja
    va:112)
    [clientgen] atweblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenT
    ask.java:270)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
    [clientgen] atorg.apache.tools.ant.Target.performTasks(Target.java:182)
    [clientgen] atorg.apache.tools.ant.Project.executeTarget(Project.java:601)
    [clientgen] atorg.apache.tools.ant.Project.executeTargets(Project.java:560)
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
    [clientgen] --- Nested Exception ---
    [clientgen] Could not read Web Service deployment descriptor
    [clientgen] atweblogic.ant.taskdefs.webservices.clientgen.EARClientGen.getWebServiceDD(EAR
    ClientGen.java:332)
    [clientgen] atweblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.ja
    va:110)
    [clientgen] atweblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenT
    ask.java:270)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
    [clientgen] atorg.apache.tools.ant.Target.performTasks(Target.java:182)
    [clientgen] atorg.apache.tools.ant.Project.executeTarget(Project.java:601)
    [clientgen] atorg.apache.tools.ant.Project.executeTargets(Project.java:560)
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
    [clientgen] --- Nested Exception ---
    [clientgen] weblogic.webservice.dd.DDProcessingException: Could notfind
    required
    attribute "type" for element <fault> (Line 28, Column 8)
    [clientgen] atweblogic.webservice.dd.ParsingHelper.getRequiredAttribute(ParsingHelper.java
    :287)
    [clientgen] atweblogic.webservice.dd.DDLoader.processFaultElement(DDLoader.java:1195)
    [clientgen] atweblogic.webservice.dd.DDLoader.processFaultElements(DDLoader.java:1166)
    [clientgen] atweblogic.webservice.dd.DDLoader.processParamsElement(DDLoader.java:1004)
    [clientgen] atweblogic.webservice.dd.DDLoader.processOperationElement(DDLoader.java:977)
    [clientgen] atweblogic.webservice.dd.DDLoader.processOperationElements(DDLoader.java:853)
    [clientgen] atweblogic.webservice.dd.DDLoader.processOperationsElement(DDLoader.java:841)
    [clientgen] atweblogic.webservice.dd.DDLoader.processWebServiceElement(DDLoader.java:378)
    [clientgen] atweblogic.webservice.dd.DDLoader.processWebServiceElements(DDLoader.java:283)
    [clientgen] atweblogic.webservice.dd.DDLoader.processWebServicesElement(DDLoader.java:271)
    [clientgen] at weblogic.webservice.dd.DDLoader.load(DDLoader.java:249)
    [clientgen] atweblogic.webservice.util.WebServiceWarFile.getWSDD(WebServiceWarFile.java:79
    [clientgen] atweblogic.ant.taskdefs.webservices.clientgen.EARClientGen.getWebServiceDD(EAR
    ClientGen.java:330)
    [clientgen] atweblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.ja
    va:110)
    [clientgen] atweblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenT
    ask.java:270)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
    [clientgen] atorg.apache.tools.ant.Target.performTasks(Target.java:182)
    [clientgen] atorg.apache.tools.ant.Project.executeTarget(Project.java:601)
    [clientgen] atorg.apache.tools.ant.Project.executeTargets(Project.java:560)
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
    [clientgen] --------------- nested within: ------------------
    [clientgen] weblogic.webservice.util.WebServiceJarException: Couldnot
    load deployment
    descriptor - with nested exception:
    [clientgen] [weblogic.webservice.dd.DDProcessingException: Could not
    find>required>> attribute "type" for element <fault> (Line 28, Column 8)
    [clientgen] atweblogic.webservice.util.WebServiceWarFile.getWSDD(WebServiceWarFile.java:81
    [clientgen] atweblogic.ant.taskdefs.webservices.clientgen.EARClientGen.getWebServiceDD(EAR
    ClientGen.java:330)
    [clientgen] atweblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.ja
    va:110)
    [clientgen] atweblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenT
    ask.java:270)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:217)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:164)
    [clientgen] atorg.apache.tools.ant.Target.performTasks(Target.java:182)
    [clientgen] atorg.apache.tools.ant.Project.executeTarget(Project.java:601)
    [clientgen] atorg.apache.tools.ant.Project.executeTargets(Project.java:560)
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:454)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:153)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:176)
    BUILD FAILED
    Anybody has any ideas?
    Thanks much,
    sami

  • Calling SharePoint Web Services from PL/SQL

    We are trying to call SharePoint Web Services with UTL_DBWS or UTL_HTTP. We are able to call some test web services, but when it comes to using SharePoint services, we keep getting 401 errors..even when we use set_authorization.
    Has anyone been able to use UTL_DBWS or UTL_HTTP to call SharePoint web services? If so, can you point us in the right direction?
    Thanks

    AB,
    I didn't realize you cannot attach documents to your post. You will have to provide me with an email address that I can send the documents to. They are a little rough (ie not commented etc) but they do illustrate the point. The basic idea is to build up the payload of the soap envelope using pl/sql. Meaning as I loop through the cursor I use each record in the cursor to build an xml string. This string of xml becomes the payload of the soap message. This could also be done using xml functionality provided by the db meaning xmlelement, xmlforest etc. The issue I ran into was the size of the message. That is why I elected to build the xml message by string concatenation as I moved through the cursor.
    Ryan

  • DII unexpected encoding style with SharePoint Web Service

    I am trying to call a dynamic sharepoint web service in Java using DII (Dynamic Invocation Interface)
    but I kept getting error:unexpected encoding style: after the invoke expected=http://schemas.xmlsoap.org/soap/encoding/, actual=
    I am trying to call web service - GetWebCollection()
    String endPoint="http://%SPSERVER/_vti_bin/Webs.asmx";
    String nameSpaceUri = "xmlns:xsi";
    String serviceName = "Webs";
    String porttype="WebsSoap";
    String NS_XSD = "http://www.w3.org/2001/XMLSchema";
    ServiceFactory factory =
    ServiceFactory.newInstance();
    Service service =factory.createService(new QName(serviceName));
    QName qport = new QName(porttype);
    hpsharepoint.Webs webs = new hpsharepoint.Webs_Impl();
    Call call = (Call) webs.createCall(qport);
    call.setProperty(call.USERNAME_PROPERTY,kuser);
    call.setProperty(call.PASSWORD_PROPERTY,password);
    call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "http://schemas.xmlsoap.org/soap/encoding/");
    call.setProperty(Call.SOAPACTION_USE_PROPERTY,
    new Boolean(true));
    call.setProperty(Call.SOAPACTION_URI_PROPERTY,"http://schemas.microsoft.com/sharepoint/soap/GetWebCollection");
    call.setTargetEndpointAddress(endPoint);
    call.setOperationName(
    new QName(nameSpaceUri,"GetWebCollection"));
    String[] params = {};
    NodeList list=(NodeList)call.invoke(params);
    ==========================
    This is the soap 1.1
    ==========================
    POST /_vti_bin/Webs.asmx HTTP/1.1 Host: <server> Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://schemas.microsoft.com/sharepoint/soap/GetWebCollection" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetWebCollection xmlns="http://schemas.microsoft.com/sharepoint/soap/" /> </soap:Body> </soap:Envelope>

    Jose,
    When you work with Web Services, the common development flow is as follow:
    1) develop your service endpoint. You can start from JAVA code or PL/SQL package (bottom-up) or from a WSDL (top-down). In your case, you need to start from the Store Procedures.
    2) deploy your service endpoint. As the result of the deployment step, you will have a WSDL available on your application server, that advertise the service interface.
    3) generate the static client proxy from the WSDL (service contract).
    4) invoke the service using the proxy from step 3 or use dynamic invocation APIs to make direct call, without to use a static proxy.
    Bypassing step 3) usually requires a dipper understanding of SOAP linguana, so it's not the easiest way to get started.
    Based on the statement you made, it looks like you are starting from step 3)
    From the error message, it seams that you are trying to invoke a Web service that was deployed using 'literal' encoding (either document/literal or RPC/literal) with a client generated for RPC-encoded message format. In the JDeveloper Wizard, you have an option to change the message format to RPC/Encoded.
    Hope this helps,
    eric

  • How To Consume SharePoint Web Services?

    I am having problems with integrating SharePoint web services into a BEA web application. I want to consume the SharePoint Web Services (for example, http://<sitename>/_vti_bin/Search.asmx). I've generated a service control out of the WSDL, but when I execute any method, it responds with
    <faultcode>soap:Server</faultcode>
    <faultstring>Server was unable to process request. --> Object reference not set to an instance of an object.</faultstring>
    I've found tons of examples for consuming these from .NET and C#, but not from BEA. It sounds like I need to instantiate the SharePoint object and pass in some Windows credentials. I am using BEA 8.1.6 and WSS 2.0 / SPS 2003. I watched the BEA online demo at http://dev2dev.bea.com/downloads/ExcelServer/workshop_vista.html but this is for much newer BEA and WSS/SPS versions. Can it be done with my versions and if so how?

    <html>
    <body>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="jquery.SPServices-0.7.2.js"></script>
    <script type="text/javascript">
    var url = "[site Url]";
    $(document).ready(function() {
    $().SPServices({
    operation: "GetWebCollection",
    webURL: url,
    completefunc: function(xData, status) {
    $(xData.responseXML).find("Web").each(function() {
    // var weburlvar = $(this).attr("Url");
    //alert(weburlvar);
    $('#urlOptions').append($('<option></option>').val($(this).attr("Url")).html($(this).attr("Title")));
    alert(url);
    url = $(this).attr("Url");
    $().SPServices({
    operation: "GetWebCollection",
    webURL: url,
    completefunc: function(xData, status) {
    $(xData.responseXML).find("Web").each(function() {
    // var weburlvar = $(this).attr("Url");
    //alert(weburlvar);
    $('#urlOptions').append($('<option></option>').val($(this).attr("Url")).html($(this).attr("Title")));
    </script>
    <select id="urlOptions" onchange="window.open(this.options[this.selectedIndex].value,'_top')">
    <option value="">Select Site...</option>
    </select>
    </body>
    </html>
    Try to use above code in html file in IE browser which lists down all the subsites available in current site (not only the top level). You can make the code more cleaner by making it as a recursive function. Give the exact link for spservice reference. Replace
    [Site url] with your site url
    Thanks

  • How to generate param-prefix in web-services.xml

    Hello I am using source2wsdd to generate my WSDL and my web-services.xml. For sake
    of interoperability I would like to have the type param-prefix in the web-services.xml
    file. From my Bean class what kind of javadoc comments would help me generate
    the type param-prefix ?
    I also would like the location="header" in the param list.
    Thanks,
    Aswin.
    <param xmlns:param-prefix="http://tempuri.org/"
    type="param-prefix:SOAPCredentials"
    location="header"
    class-name="com.xyz.webservices.SOAPCredentials"
    name="SOAPCredentials"
    style="in">
    </param>
    <return-param xmlns:param-prefix="http://tempuri.org/"
    type="param-prefix:GetFileProfileInformationResponse"
    class-name="com.xyz.webservices.GetFileProfileInformationResponse"
    name="parameters">
    </return-param>
    </params>

    Please try this:
    * @wlws:part p_SOAPAuthToken location="header"
    * type="typeNS:p_SOAPAuthToken"
    * class-name="com.xyz.webservices.SOAPAuthToken"
    * style="inout"
    * xmlns:typeNS=http://namespace/of/the/type
    * @wlws:part p_SOAPCredentials location="header"
    * type="typeNS:p_SOAPCredentials"
    * class-name="com.xyz.webservices.SOAPCredentials"
    * style="in"
    * xmlns:typeNS=http://namespace/of/the/type
    * @ejbgen:remote-method
    public void login(SOAPAuthToken p_SOAPAuthToken,
    SOAPCredentials p_SOAPCredentials)
    I did not try this one out. So i can only hope that it works.
    Regards,
    -manoj
    http://manojc.com
    "Aswin Dinakar" <[email protected]> wrote in message
    news:40aeeb5d$1@mktnews1...
    >
    I tried this
    * @wlws:part p_SOAPAuthToken location="header"
    * @wlws:part p_SOAPAuthToken type="param-prefix:p_SOAPAuthToken"
    * @wlws:part p_SOAPAuthTokenclass-name="com.xyz.webservices.SOAPAuthToken"
    * @wlws:part p_SOAPAuthToken style="inout"
    * @wlws:part p_SOAPCredentials location="header"
    * @wlws:part p_SOAPCredentials type="param-prefix:p_SOAPCredentials"
    * @wlws:part p_SOAPCredentialsclass-name="com.xyz.webservices.SOAPCredentials"
    * @wlws:part p_SOAPCredentials style="in"
    * @ejbgen:remote-method
    public void login(SOAPAuthToken p_SOAPAuthToken,
    SOAPCredentials p_SOAPCredentials)
    and I got the following error -
    [source2wsdd] source2wsdd: In doclet classweblogic.webservice.tools.ddgen.Servi
    ceGen, method start has thrown an exceptionjava.lang.reflect.InvocationTargetE
    xception
    [source2wsdd] weblogic.xml.stream.XMLStreamException: Attribute QNamevalue "par
    am-prefix:p_SOAPAuthToken" does not map to a prefix that is in scope
    [source2wsdd] atweblogic.webservice.dd.NSAttribute.getValueAsXMLName(NSAttrib
    ute.java:45)
    [source2wsdd] atweblogic.webservice.dd.DDLoader.processParamElement(DDLoader.
    java:1252)
    "manoj cheenath" <[email protected]> wrote:
    Check out this example:
    http://manojc.com/?sample3
    You can find more details regarding the tags here:
    http://manojc.com/tutorial/sample3/source2wsdd.html
    Regards,
    -manoj
    http://manojc.com
    "Aswin D" <[email protected]> wrote in message
    news:[email protected]...
    Hello I am using source2wsdd to generate my WSDL and my
    web-services.xml.
    For sake
    of interoperability I would like to have the type param-prefix inthe
    web-services.xml
    file. From my Bean class what kind of javadoc comments would help megenerate
    the type param-prefix ?
    I also would like the location="header" in the param list.
    Thanks,
    Aswin.
    <param xmlns:param-prefix="http://tempuri.org/"
    type="param-prefix:SOAPCredentials"
    location="header"
    class-name="com.xyz.webservices.SOAPCredentials"
    name="SOAPCredentials"
    style="in">
    </param>
    <return-param xmlns:param-prefix="http://tempuri.org/"
    type="param-prefix:GetFileProfileInformationResponse"
    class-name="com.xyz.webservices.GetFileProfileInformationResponse"
    name="parameters">
    </return-param>
    </params>

  • Visual Studio 2012: Can't access Sharepoint Web Services because of Discovery Credentials Prompt

     
    Hi.
    I've exactly the same problem that is descripted
    here, so I'll add its description here.
    My SharePoint is 2010
    I am trying to access the web services that are located in this url:
    http://<part_of_th_url_omitted>/_vti_bin/Lists.asmx. I have no problem accessing
    this URL using my broswer, that is, when I type the URL and my browser's address bar and press enter, I can see the list of the services that are available. I encounter no problem by accessing this site through my browser at all.
    However, when I try to access the services from that URL (http://<part_of_the_url_omitted>/_vti_bin/Lists.asmx),
    a Discovery Credential Dialog box prompts me for my username and password. SO what I do is I enter my username and password that I used to access the sharepoint using my browser, the problem is, the dialog box doesn't seem to accept the username and password
    that I enter as the dialog box is keep on appearing.
    Below are the detailed steps on how I go about in adding the Web Services.
    1. From the Solution Explorer, I right click on the "Service References" folder.
    2. From the context menu that appears, I Click on "Add Service Reference...". The "Add Service Reference" Dialog box will appear.
    3. From the "Add Service Reference" dialog box, I click on the "Advanced,,," button which can be seen at the bottom-left of the dialog
    box. The "Service Reference Settings" Dialog box will appear.
    4. From the "Service Reference Settings" dialog box, I click on the "Add Web Reference..." dialog box. The "Add Web Reference"
    Dialog box will appear. This is the dialog box where I can type the URL of the service that I want to access. So I type "http://<part_of_the_url_omitted>/_vti_bin/Lists.asmx".
    AFter typing that, I click on the Go button (which is the green arrow button at the right of the address bar of this dialog box).
    5. After doing that, a prompt dialog box will appear which has the title "Windows Security" and it is aking for my username and password. SO
    what I do is I enter the Username and the Password that I use in accessing the sharepoint site (http://<part_of_the_url_omitted>/_vti_bin/Lists.asmx)
    6. The prompt seems to accept the Username and Password, but after that, a new dialog box appeared with the title "Discovery Credential" and
    it says "The Service 'http://<part_of_the_url_omitted>/_vti_bin/Lists.asmx' requires a username and
    password". SO what I do is I enter again the un and pw that I use to access the sharepoint site, the one that I used inm the previous dialog box.
    7 After entering the username and the password and clicking the OK button. The dialog box reappears still asking for a username and a password, but this
    time, it shows a different message. It says "The Service 'http://<part_of_the_url_omitted>/_vti_bin/Lists.asmx/$metadata'
    requires a username and password". SO it really, what oonly changed is the URL, it has now the $metadata at the end. What do I do? I eneter the username and password again.
    8. After clicking Ok again, the dialog box reappears, now it says "The Service 'http://<part_of_the_url_omitted>/_layouts/1033/error.aspx'
    requires a username and password." Now it shows a very different username. Of ocurse, I still type in the username and password and click Ok.
    9. after doing that, the dialog box reappears again and it shows the same message as in step 6. So I do steps 6, 7 and 8 in a loop.
    10. When I finally get tired of entering the username and password, I click on cancel. The message box reappears again. So I click on cancel again. After
    doing that, I can then, surprisingly, see the list of the web services. However, not surprisingly, I still can't use it because the "Add Reference" button which I need to click in order to use the Web services is disabled. So I can only see the list
    of the services but I can't use it.

    Hi Gaston,
    I would suggest you the following thread, check whether it meet your scenario, it shows that if you have set IE options to remember the username and password, and you have enter wrong password before, this issue may happen:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/a7f466a5-0e4a-4f75-ad29-9591e2357e10/sharepoint-web-services-visual-studio
    Thanks,
    Qiao Wei
    TechNet Community Support

  • How to consume Sharepoint web services in SMP 2.3?

    Hi,
    I want to create jQuery Mobile application in which i want to call Sharepoint (SOAP) web services like (getListCollection, getListItems etc) through
    SMP 2.3 Can any one tell me in detail how to consume Sharepoint web services in SMP 2.3 so that i can use data in my jQuery Mobile Application?
    For example my web service is http://xxxxx:xx/___/Lists.asmx?op=GetListItems

    Hi Harshada,
    Any good reasons to integrate Share point Jquery mobile application with SMP ?
    because Share point web services can be consumed directly in the Jquery mobile applications.
    Please look at the below examples to achieve it.
    Sample Codes :
    Read List Items using Sharepoint Web Services and jQuery | Robert Kuzma on SharePoint,  HTML, CSS &amp;amp; JavaScript, …
    Pro-Grammar: Calling the SharePoint 2010 GetListItems web services with Jquery
    javascript - Getting list data from SharePoint 2010 site using Jquery - Stack Overflow
    -Virinchy

  • Web-services.xml

    I'm implementing WS-SECURITY for my web service. The only service that I am enabling is the soap encryption. Furthermore, I only want to encrypt the request. I in the web-services.xml the operations specify the security spec to use for both the request and the response...
    in-security-spec
    out-security-spec
    The docs say "If you do not specify this attribute, the default security specification, if it exists, is applied to the SOAP response. If there is no default security specification, then no message-level security is applied to the SOAP response."
    My question is how do you disable the response if there is a default security spec.
    thx

    xmllint is correct. Here's what the 1.1.3 XSD says (I put in the leading periods to fool the discussion board into preserving structure ):
    . <xsd:element name="ITunesUDocument">
    . . <xsd:complexType>
    . . . <xsd:sequence>
    . . . . <xsd:element ref="Version" minOccurs="1" maxOccurs="1"/>
    . . . . <xsd:element ref="AddCourse" minOccurs="0"/>
    . . . </xsd:sequence>
    . . </xsd:complexType>
    . </xsd:element>
    If "minOccurs" or "maxOccurs" aren't specified in sequence elements, then they both default to "1". So the "minOccurs" and "maxOccurs" specifiers are redundant in the "Version" element specification…they'd be "1" anyway. Setting "minOccurs" to "0" means that you can omit the element in XML…but unless "maxOccurs" is set, than the most any element can appear in the sequence is once to be valid. "unbounded" can be used in "maxOccurs" to set no limit on the number of times it can appear in the sequence.
    Recall that XML doesn't necessarily have to validate to "work". An XML validation is a contract between us and Apple…Apple promises that we can put at least one "AddCourse" in an "ITunesUDocument" and that is going to work, or our money back. But if we don't submit valid XML, it might still work…but there is no promise there either. It might work today, it might fail tomorrow. The iTunes U people have said, in various venues, that we should expect Apple to validate our XML…but nobody's perfect. It could be that Apple just missed this one…but we should still write code under the assumption that the XSD is being correctly applied and that our XML is being validated on Apple's end. That way, our code can never be "wrong".

  • Batch job invoke Sharepoint web service

    Hi all,
    Can BODS job invoke a SharePoint web service which accepts two parameters?
    The first parameter is a string and the second one is an XML.
    Any inputs will be greatly helpful.
    Thanks and Regards,
    Prateek

    first test invoking the batch job webservice using SoapUI
    does your client application logs the SOAP message that is sent to DS WebServer ?
    Check the %LINK_DIR%\lg\webservices.log if there is any errors logged in it ?

  • Changing web-services.xml for handler

    I have been using the servicegen task to generate the .ear file for my webservice.
    Among other things, it took care of generating the web-services.xml file for me.
    I have a need to write a handler and thus it requires changes in the web-services.xml.
    I generated the web-services.xml file the first time and made the handler related
    changes and it's working fine.
    But now, I loose the auto-generation facility (since I have hand-edited it for
    handler changes). Any time, I change the interface of the webservice, I would
    have to manually change the web-services.xml file to reflect the new interface.
    Is there a better way of doing this so that I can auto-generate the webservices.xml
    file plus make my handler changes. Anything in the ant to do it smartly, rather
    than doing it manually. I would imagine that anyone who writes a handler would
    run into similar situation.
    thanks for help.
    John

    Here is an example of ejb and source2wsdd.
    "manoj cheenath" <[email protected]> wrote in message
    news:[email protected]...
    It works with EJBs too. You should use ejbLink attribute
    to point to the ejb link. Something like:
    <source2wsdd
    javaSource="${sourcecode.for.the.ejb.interface}"
    ddFile="${webss.output.dir}/WEB-INF/web-services.xml"
    typesInfo="${webss.output.dir}/WEB-INF/classes/types.xml"
    serviceURI="${webss.service.url}"
    ejbLink="${webss.ejb.link}" >
    "John" <[email protected]> wrote in message
    news:[email protected]...
    Thanks for the response. But the source2wsdd task only works with javacomponents
    whereas we have ejbs. Any other clues/suggestions.
    Thks,
    - John.
    "manoj cheenath" <[email protected]> wrote:
    Here you go.
    regards,
    -manoj
    "John" <[email protected]> wrote in message
    news:[email protected]...
    Thanks for the response. I'll appreciate if you could share the
    workaround
    in 7.0.
    I'm okay with it even if it's unofficial and might go away.
    thks,
    - John.
    "manoj cheenath" <[email protected]> wrote:
    Hi John,
    This is a know problem with WLS 7.0 and WLS 8.1. The
    DD file (web-services.xml) is much more expressive than
    the servicegen ant task. So one needs to modify the DD
    to use some features. But, if one modifies the DD then it
    is difficult to use the ant tasks again for iterative developemnt.
    JSR 181 [1] and JSR 175 [2] tries to address this
    problem by providing metadata (markup) in source code.
    Unfortunately these JSRs are in the early stages and
    will be completed around JDK 1.5 timeframe. There
    is an internal implementation of a similar beast in WLS
    since 7.0 SP2, but it is not officially supported or
    documented. Mainly because the above said JSRs are
    supposed to address iterative development problem
    in a standard way.
    So, if you cannot wait for the JSRs and dont mind using
    a non standard implementation that may not be supported
    or may change in the next major release (~WLS 9.0),
    let me know. I can send you details.
    Regards,
    -manoj
    [1] http://www.jcp.org/en/jsr/detail?id=181
    [2] http://www.jcp.org/en/jsr/detail?id=175
    "John" <[email protected]> wrote in message
    news:[email protected]...
    I have been using the servicegen task to generate the .ear file
    for
    my
    webservice.
    Among other things, it took care of generating the
    web-services.xml
    file
    for me.
    I have a need to write a handler and thus it requires changes in
    the
    web-services.xml.
    I generated the web-services.xml file the first time and made the
    handler
    related
    changes and it's working fine.
    But now, I loose the auto-generation facility (since I have
    hand-edited
    it
    for
    handler changes). Any time, I change the interface of the
    webservice,
    I
    would
    have to manually change the web-services.xml file to reflect the
    new
    interface.
    Is there a better way of doing this so that I can auto-generate
    the
    webservices.xml
    file plus make my handler changes. Anything in the ant to do it
    smartly,
    rather
    than doing it manually. I would imagine that anyone who writes a
    handler
    would
    run into similar situation.
    thanks for help.
    John
    begin 666 handler.zip
    M4$L#!!0`" `(`#V&D2X````````````````)``0`345402U)3D8O_LH```,`
    M4$L'" `````"`````````%!+`P04``@`" `]AI$N````````````````% ``
    M`$U%5$$M24Y&+TU!3DE&15-4+DU&\TW,RTQ++2[1#4LM*L[,S[-2,-0SX.5R
    M+DI-+$E-T76J! D8ZQG&&Y@I: 27YBGX9B87Y1=7%I>DYA8K>.8EZVGR<O%R
    M`0!02P<(<UT-_$<```!'````4$L#!!0`" `(`/V"D2X````````````````4
    M````=VQS-S O<')O<&5R=&EE<RYT>'2%4$UKPS ,O0?R'P3==5-W&@1Z&AD4
    M!BL[]1;<1&T]',O(RMHR]M]G)RNL'6PZV4_O0]+L]L\JBQF,%80#B5J*"?I/
    MDRA*?8#."K7*<@)EX$'#H+ C3V*4.MA:E]TRLTG,!6H?<!2;$)QMC5KV,9L`
    M;T'W!)'DG>3NDC%JNPHW9'!(C":-^I9B(^J0LJUQ^-.O+*ZU8^[!'2*V[+=V
    MA_VIX]Y8?Z5+L1L3"09QOP::'DUJ+?:JH4)TW!JWYZC5PWQ^/^V5L6QVEF^$
    M#TD)=*2R^/XL'BM<">_$]/"4+X1+KR2>%.IC<"PDN*S7J^>7U_JN7M?9>#KM
    MN,S-Q_F>GSC!9=$Z2UZ;UID8*5Y0+EME\0502P<(3D:RZ!$!```/`@``4$L#
    M! H```````V&D2X````````````````.````=VQS-S O<V%M<&QE-"]02P,$
    M% `(``@`^X21+@```````````````!T```!W;',W,"]S86UP;&4T+V%P<&QI
    M8V%T:6]N+GAM;%6/36_", R&[TC\!Z^77M9X5#M,4P!MT&E,^T "A'9"(;6V
    MH#2IDI2/?[^*`BLW^_7[O+;Y<%]HV)+SRII^U&-W$0`9:7-E?OK18OZ2/$3#
    M0;?3[?";\==H_CW-0)2E5E*$&H'IXOE],H(X09Q5!CZ4=-8??*#"W\+$2(8X
    MGH_A+<TR>&IQ/98B9I\QQ+\AE(^(&[$5S%>&25O@)B7"/.0>6[M6O57*:C%N
    MSFE-:@& Y\J76AP2(PH:O)+6=FF=SF?DMDH2QZMY0Y"73I7'B",`2V=U#DM:
    MPS_6,AVIPN:5;A+J;D?K4]DT2>74P(NBU'3/=L)Q/(L7E[0FT#XDSMIPMG*\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NC%_T'O,?/W,(<0NZR>20H0Q*V%.R[5
    M[]H*T-JMX\XO6RU3*+PWAK4S4F6/3\!-9B%IX0!R$P<3(U29RV&YA _!#>%1
    MN OA&]#C^R=(%HWO!<EBCW.YT;N 7A%AQNG29%7AV]67)(;HX?X6],9C$6Q3
    M,%#:@2U1R(W$-!J"U\O+Y$IWHVO SJ;T8*@GZLO24[E!(OU=&TK;KO3)EH'@
    M*_^/E==7/,1<_#72U[I)H5/++BC+T)W$Q<FBJS% D$\X&38-D6#T9<F=*R_F
    M\T[O\U;O\V@&W7F Z&22:)SD2"=@NLV4[!0UH5D/"K2R"_N&:#]$\5";$8KQ
    M-(V;T@ZBCN$JC&MK8D&I,U 54?.%!,:I.[+,]A2O\M#RKFJS";.!R?I@'19,
    M5XZ57AR.VC,L[RL6)X.R!'<BCV$T^X CP9^*%GWBDC %IT$8Y YAA\^]JIK?
    MTD4$[^I 1VF.?PQODJL=%O_^`5!+!PC/*:Y>! (``#P%``!02P,$% `(``@`
    M[X*1+@```````````````"H```!W;',W,"]S86UP;&4T+VAE;&QO+7=O<FQD
    M+6AA;F1L97(M:6YF;RYX;6QMD+$.@C 0AG<3W^'2O; X5A<7=@?GDUZDR;60
    M'I#X]H(%4HC=^OWW];_4-!@L4]1U@R[([7P",#L&`3U=547,[;.-;*N4WN=0
    M_83YK!+4C"(Z2?W0M]$A%X*^8[H4#XHCQ>4%!9L]^2ZX7G<8T4N&=\&RRKJ>
    M)Q%\DX)\'&!$'J8IT!K06K+P^L"AM\R+RW_-IEQ:$MFNZ4\F>""S^0502P<(
    M&/JK'I\```!,`0``4$L#!!0`" `(`.^"D2X````````````````D````=VQS
    M-S O<V%M<&QE-"](96QL;U=O<FQD4V5R=FEC92YJ879A18TQRP(Q#(;W0O]#
    M[*0'VN6;%$%P<7)Q<(XUW!5C6]*>-XC_7>OY*00">=Z\3T)WP9:@]"6*1UYD
    MO":FOY566MFFT0H:V P\Y.5 ITQR\^Z51FFI[/%*.:&CM>E*24M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2.IHNI:I8C#'.LNA:18>4G5J/-^;U;120#MZ?
    MP9ND%U+]P57KL^[QTQROJG FA-9G^^V2P4^"DU@R&!Q#@-NR`V#,84;^GKFS
    M_F[HV4)+:QY XP/L70@,MP%R\8]MR'QP]+S:LZ@_A>FWV&3=?*.!"&B+H2P)
    M%=SI-!([=F:D/?AQ!)9)_HYPU]XL5A2[+1J<`QU>?E>&CV(+UQUVJP8@YRQ"
    MI7;$M4 S'R2^,W2X+SK%O.O38*'C:9WQ^: )T.WPT[B_NE5JYZ]__0=02P<(
    M)86WEK("```@" ``4$L!`A0`% `(``@`/8:1+@`````"``````````D`! ``
    M`````````````````$U%5$$M24Y&+_[*``!02P$"% `4``@`" `]AI$N<UT-
    M_$<```!'````% `````````````````]````345402U)3D8O34%.249%4U0N
    M34902P$"% `4``@`" #]@I$N3D:RZ!$!```/`@``% ````````````````#&
    M````=VQS-S O<')O<&5R=&EE<RYT>'102P$""@`*```````-AI$N````````
    M````````#@`````````````````9`@``=VQS-S O<V%M<&QE-"]02P$"% `4
    M``@`" #[A)$NM'9L4!$!``##`0``'0````````````````!%`@``=VQS-S O
    M<V%M<&QE-"]A<'!L:6-A=&EO;BYX;6Q02P$"% `4``@`" #+A9$N])J"TR $
    M``"6#P``%P````````````````"A`P``=VQS-S O<V%M<&QE-"]B=6EL9"YX
    M;6Q02P$""@`*```````1AI$N````````````````%0`````````````````&
    M" ``=VQS-S O<V%M<&QE-"]C;&EE;G0O4$L!`A0`% `(``@`[X*1+FS_=^_[
    M`@``#0H``"<`````````````````.0@``'=L<S<P+W-A;7!L930O8VQI96YT
    M+T-L:65N=$AA;F1L97(N:F%V85!+`0(4`!0`" `(`.^"D2[/*:Y>! (``#P%
    M```>`````````````````(D+``!W;',W,"]S86UP;&4T+V-L:65N="]-86EN
    M+FIA=F%02P$"% `4``@`" #O@I$N&/JK'I\```!,`0``*@``````````````
    M``#9#0``=VQS-S O<V%M<&QE-"]H96QL;RUW;W)L9"UH86YD;&5R+6EN9F\N
    M>&UL4$L!`A0`% `(``@`[X*1+OO]A9:Z````& $``"0`````````````````
    MT X``'=L<S<P+W-A;7!L930O2&5L;&]7;W)L9%-E<G9I8V4N:F%V85!+`0(4
    M`!0`" `(``R&D2YF66C]#P,``#4(```9`````````````````-P/``!W;',W
    M,"]S86UP;&4T+W)E861M92YH=&UL4$L!`A0`% `(``@`[X*1+B6%MY:R`@``
    M( @``" `````````````````,A,``'=L<S<P+W-A;7!L930O4V5R=F5R2&%N
    ?9&QE<BYJ879A4$L%!@`````-``T`K@,``#(6````````
    `
    end
    [sample10.zip]

  • Web-services.xml  handler chain

    Hi All,
    My question is this. I use servicegen ant task to generate the web-services.xml
    file,
    then I open the .ear file using winzip and edit the web-services.xml file to include
    the handler-chain information. I have included the following information :
    <handler-chains>
    <handler-chain name="myChain">
    <handler class-name="com.whatever.core.sec.iec.ejb.IECSOAPHandler">
    <init-params>
    <init-param name="logDirectory" value="C:/temp" />
    <init-param name="severityLevel" value="verbose" />
    </init-params>
    </handler>
    </handler-chain>
    </handler-chains>
    and then I include the following in the operation tag:
    <operation method="batchResponseToPSS([B)" component="ejbcomp0" name="batchResponseToPSS"
    handler-chain="myChain">
    and the also following
          <operation method="onlineResponseToPSS([B)" component="ejbcomp0" name="onlineResponseToPSS"
    handler-chain="myChain">
    Without the handler-chains element my app works fine.
    My whole web-sercvices.xml is located at following location:
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.webservices&item=3921&utag=
    Any insight will be appreciated.
    Thanks
    ---Radhe
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I am still not clear what error you are getting.
    1. Are you saying that the handler is not getting
    called?
    2. or you are not able to invoke the web service
    at all?
    If it is 1 check the web-service.xml file of the ear
    deployed. Make sure that your change is not overwritten
    by servicegen.
    If it is 2 then check the URL of the web service in
    web-service.xml file and use a browser to get to
    that URL.
    Regards,
    -manoj
    http://manojc.com
    "Radhe" <[email protected]> wrote in message
    news:[email protected]...
    >
    Manoj,
    Thanks for your reply. When I bring up the WLS, from the messages on theconsole,
    it comes-up pretty cleanly. Theare are no error messages.
    I looked into log files and their is nothing. This has surprised me.
    I worked with some of my friends and they are clueless. I never thoughtto just
    read SOAP Headers, that I have to go through so much pain.
    Also part of my web-services.xml file is generated through servicegen,then I
    crack open the .ear file strip the web-services.xml file, edit it and putit back.
    >
    IF there is some error I would have fixed it.
    Does handler-chains in web-services.xml work, or it is some fiction, BEAmade
    up. I am clueless where I am screwing it up.
    Thanks
    ---Radhe
    "manoj cheenath" <[email protected]> wrote:
    Can you please post the error message?
    This example may also help you:
    http://www.manojc.com/?sample4
    Regards,
    -manoj
    http://manojc.com
    "Radhe" <[email protected]> wrote in message
    news:[email protected]...
    Hi All,
    My question is this. I use servicegen ant task to generate theweb-services.xml
    file,
    then I open the .ear file using winzip and edit the web-services.xmlfile
    to include
    the handler-chain information. I have included the following
    information
    <handler-chains>
    <handler-chain name="myChain">
    <handler
    class-name="com.whatever.core.sec.iec.ejb.IECSOAPHandler">
    <init-params>
    <init-param name="logDirectory" value="C:/temp" />
    <init-param name="severityLevel" value="verbose" />
    </init-params>
    </handler>
    </handler-chain>
    </handler-chains>
    and then I include the following in the operation tag:
    <operation method="batchResponseToPSS([B)" component="ejbcomp0"
    name="batchResponseToPSS"> >> handler-chain="myChain">> >>> >> and the also following> >>> >>       <operation method="onlineResponseToPSS([B)" component="ejbcomp0"> >name="onlineResponseToPSS"> >> handler-chain="myChain">> >>> >> Without the handler-chains element my app works fine.> >>> >> My whole web-sercvices.xml is located at following location:> >>> >>>>http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.webservices&item=3921&utag=> >>> >>> >> Any insight will be appreciated.> >>> >> Thanks> >> ---Radhe> >> >>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Can't parse configuration  jsf-ri-runtime.xml

    When I try to do the Example about JSF in (How To Use JSF with JDeveloper 10g) and run it I found this problem SEVERE: Can't parse configuration file:classloader:/com/sun/faces/jsf-ri-runtime.xml and I have jDeveloper ver 9.0.5.2 and java ver 1.4.2.0

  • Dynamic call to Function module.

    Hi In one of the program, we have found a FM ' rfc_update_taxes_doc', and which does not has any code, but what i think that this Fm is called dynamically from some prog and is calling external system. As it has 'targt server' in importing parameters

  • FM replacement for TRANSFER_NAMES_TO_FIELDS

    Hi, The FM TRANSFER_NAMES_TO_FIELDS is obsole in ECC 6.Can any one suggest the replacement for this FM. Thanks Ansari

  • Problem in populating jtable data from database

    hi, i am using JTable to retrieve data from database and show it in table. JTable is working fine with static data. but while retrieving from databse its giving a NullPointerException at getColumnClass() method. Below is complete source code. plzz he

  • Value of by-product reduces overall batch costing

    Does value of by-product reduces overall batch costing?