Soap:Server was unable to process request. --- Value does not fall within the expected range
Brand spanking new Sharepoint 2010 RTM and Designer 2010 RTM install. Unable to edit any page whatsoever even when checking out. Error in SP Designer: soap:Server was unable to process request. ---> Value does not fall within the expected range.
Like I said, this is a brand new RTM install with nothing altered yet. Why can't I edit any pages? I am using the highest credentials so there should be no permission issues. There isn't anything that is helping me on the Web for this.
Why would I encounter a problem like this out of the box? This is not the beta - it is RTM!
Go to :
Site Collection Administration
SharePoint Designer Settings
and Enable the following
Enable Detaching Pages from the Site Definition
Enable Customizing Master Pages and Page Layouts
Enable Managing of the Web Site URL Structure
This should resolve the SP Designer Edit Issues.
Similar Messages
-
GetListItems() and "Value does not fall within the expected range"
I have a sharepoint list (it's a task list). I have the ID of the task - I can access the task like this :
http://addr/EditForm.aspx?ID=<value>
This works fine. I would like to create a query so when I call GetListItems() from a web service, I can select this record.
This is the code I'm using - when I set the ndQuery.innerxml to a blank string, it returns all records (correctly). When I enable it, I get the wonderfully useful "Value does not fall within the expected range" error. I have tried querying
a number of different fields (besides ID) and every single one gives me that error.
XmlDocument xmlDoc = new System.Xml.XmlDocument();
XmlNode ndQuery = xmlDoc.CreateNode(XmlNodeType.Element, "Query", "");
XmlNode ndViewFields = xmlDoc.CreateNode(XmlNodeType.Element, "ViewFields", "");
XmlNode ndQueryOptions = xmlDoc.CreateNode(XmlNodeType.Element, "QueryOptions", "");
ndQuery.InnerXml = "<Where><eq><FieldRef Name=\"ID\" />" + "<Value Type=\"Counter\">" + pTaskID.ToString() + "</Value></eq></Where>";
ndViewFields.InnerXml = "<FieldRef Name=\"ID\" /><FieldRef Name=\"Title\" />";
ndQueryOptions.InnerXml ="<IncludeMandatoryColumns>False</IncludeMandatoryColumns>";
System.Xml.XmlNode nodes = listService.GetListItems(strListID, strViewID, ndQuery, ndViewFields, "3", ndQueryOptions, null);
I dug into the server logs and this is the XML that I see :
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body>
<GetListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<listName>{61A69E7F-F515-456C-B075-CB80FA59AFED}</listName>
<viewName>{BBEDC17F-9578-4226-B4FC-E4BE102E6BED}</viewName>
<query><Query xmlns=""><Where><eq><FieldRef Name="ID" /><Value Type="Counter">87</Value></eq></Where></Query></query>
<viewFields><ViewFields xmlns=""><FieldRef Name="ID" /><FieldRef Name="Title" /></ViewFields></viewFields>
<rowLimit>3</rowLimit>
<queryOptions><QueryOptions xmlns=""><IncludeMandatoryColumns>False</IncludeMandatoryColumns></QueryOptions></queryOptions>
</GetListItems>
</soap:Body>
I don't like seeing two nested <query> tags but there is no way that I can see to remove them! At this point - can anyone tell me, is there any way to tell WHAT value does not fall within the expected range? Or WHAT the expected range is?Hi Chris,
Per my understanding, there is an issue when calling GetListItems() from a web service.
Please check if the “pTaskID” is valid and take the snippet below for a test in your environment:
public static void getItems()
var lists = new MyWebServiceDemo.Lists();
lists.Url = "http://sharepoint/_vti_bin/Lists.asmx";
lists.Credentials = System.Net.CredentialCache.DefaultCredentials;
System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument();
//displayName or GUID
string listName = "List1";
string viewName = "";
string rowLimit = "150";
System.Xml.XmlElement query = xmlDoc.CreateElement("Query");
System.Xml.XmlElement viewFields = xmlDoc.CreateElement("ViewFields");
System.Xml.XmlElement queryOptions = xmlDoc.CreateElement("QueryOptions");
query.InnerXml = "<Where><Eq><FieldRef Name=\"ID\" /><Value Type=\"Counter\">1</Value></Eq></Where>";
//query.InnerXml = "";
viewFields.InnerXml = "<FieldRef Name=\"Title\" />";
queryOptions.InnerXml = "";
System.Xml.XmlNode nodeListItems = lists.GetListItems(listName, viewName, query, viewFields, rowLimit, queryOptions, null);
foreach (XmlNode outerNode in nodeListItems.ChildNodes)
if (outerNode.NodeType.Equals(System.Xml.XmlNodeType.Element))
foreach (XmlNode node in outerNode.ChildNodes)
if (node.NodeType.Equals(System.Xml.XmlNodeType.Element))
XmlNode nameNode = node.Attributes.GetNamedItem("ows_Title");
String wikiName = nameNode.InnerText;
Console.WriteLine(wikiName);
If it is an issue of the invalid item id, for avoiding this error, a workaround is that you can run a request to retrieve all the existing ids in the target list,
then add a validation to ensure the “pTaskID” is valid.
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for
TechNet Support, contact [email protected]. -
SharePoint Receive Location: Value does not fall within the expected range
Hi,
I setup a wss receive location in BizTalk 2013 (CU2 applied) to get documents from a SharePoint 2013 infoPath Form Library, the documents were checked out but not processed by WSS adapter and BizTalk logs following error in event log
The host instance user has 'Full Control' permission on this form library
(the same configuration is working in another environment with different BizTalk and SP instances)
any help would be highly appreciated
Usman Shaheen MCTS BizTalk Server http://usmanshaheen.wordpress.comHi,
I would recommend to create a new InfoPath form and publish it to SharePoint library to see
if the issue still occurs.
Here is a similar thread for you to take a look:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/07438b97-2b25-431a-b94a-1ea8e08992d5/upgrade-sharepoint-2007-to-sharepoint-2010-info-path-pages-issues?forum=sharepointadminprevious
If that doesnt fix the issue, you should go with this hotfix.
Description of the SharePoint Foundation 2010 hotfix package (Wss-x-none.msp): July 2, 2012
Description reads:
Assume that you use the metadata navigation and filter feature to filter a view of a document library. When you check in or check out a document through the menu on the ribbon, you receive the following error exception:
System.ArgumentException: Value does not fall within the expected range. at Microsoft.SharePoint.SPWeb.GetFile(String strUrl) at Microsoft.SharePoint.ApplicationPages.Checkin.get_File() at Microsoft.SharePoint.ApplicationPages.Checkin.OnPreInit(EventArgs
e) at System.Web.UI.Page.PerformPreInit() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Rachit -
I have a list that has more than 12 columns of type lookup with more than 5000 items and I am using a date field as an indexed column so I can restrict the results to meet the list view threshold. I am also using $select to restrict the columns to
meet the lookup column threshold.
If I run the query below it all works as expected:
_api/web/Lists/MyList/items/?$Filter=Created gt '2015-03-10T05:00:00.000Z' and Created lt '2015-03-17T18:25:00.712Z'&$select=Lookup1/Id&$expand=Lookup1
If I run this query it does not work:
_api/web/Lists/MyList/items/?$Filter=Created gt '2015-03-10T05:00:00.000Z' and Created lt '2015-03-17T18:25:00.712Z'&$select=Lookup1/Title&$expand=Lookup1
Error:
<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code>-2147024809, System.ArgumentException</m:code>
<m:message xml:lang="en-US">Value does not fall within the expected range.</m:message>
</m:error>
The lookup column "Lookup1" is using Title as the column's information and this should be working. What is interesting is that changing the lookup threshold has no effect on this but raising the list item view limit does make it work. The
date range is selecting less than 5000 items. So what am I missing here? I just want the Title for the lookup column and my query has about 10 items in it.Looking through the logs the error is thrown due to the following error messages:
03/19/2015 08:26:12.12 w3wp.exe (0x6D34)
0x7F38 SharePoint Foundation
Fields 84h8
High Field with internal name 'LookupFieldName_x005f_Title' already exists in the field cache
3446f49c-f2d2-d0a2-89f4-59dee19b2f45
03/19/2015 08:26:12.12 w3wp.exe (0x6D34)
0x7F38 SharePoint Foundation
Fields ki9p
High Unable to add join related fields to the Query.[Error 0x80070057]
3446f49c-f2d2-d0a2-89f4-59dee19b2f45
03/19/2015 08:26:12.12 w3wp.exe (0x6D34)
0x7F38 SharePoint Foundation
General xxpm
High Unable to execute query: Error 0x80070057
3446f49c-f2d2-d0a2-89f4-59dee19b2f45
03/19/2015 08:26:12.12 w3wp.exe (0x6D34)
0x7F38 SharePoint Foundation
General 8e2s
Medium Unknown SPRequest error occurred. More information: 0x80070057
3446f49c-f2d2-d0a2-89f4-59dee19b2f45
03/19/2015 08:26:12.12 w3wp.exe (0x6D34)
0x7F38 SharePoint Foundation
General aix9j
High SPRequest.GetListItemDataWithCallback2: UserPrincipalName=<removed>, AppPrincipalName= ,pSqlClient=<null> ,bstrUrl=siteUrl ,bstrListName=<removed> ,bstrViewName=<null> ,bstrViewXml=<View
Scope="RecursiveAll"><Query><Where><Eq><FieldRef Name="ID" /><Value Type="Counter">5481</Value></Eq></Where></Query><ViewFields><FieldRef Name="LookupFieldName"
LookupId="TRUE" /><FieldRef Name="LookupFieldName_x005f_Title" /></ViewFields><ProjectedFields><Field Name="LookupFieldName_x005f_Title" Type="Looku ,fSafeArrayFlags=SAFEARRAYFLAG_DATES_IN_UTC
3446f49c-f2d2-d0a2-89f4-59dee19b2f45
The very first message states that it is unable to add join related fields, what could be the possible cause of this? As you can see rather than specifying a date range which I know contains less than 5000 items, even filtering based on ID gives the
same result. -
SSRS 2014 SharePoint integrated - getting error "Value does not fall within the expected range"
Hi everyone,
Note sure if this should be in the SharePoint forum instead, but here goes...
I have got an SSRS report (SQL 2014) deployed to SharePoint 2013, and I am using a command line to call this report. The command line is...
https://myserver/_vti_bin/reportserver?https://myserver/Reports/AdjustmentPlan.rdl&rs:Format=PDF&ParamActionGUID=B9B57C49-558B-471A-8BFD-2853673E8874
This returns an error "Value does not fall within the expected range"
If I remove the "&rs:Format=PDF" then the report appears on screen without problems...
When I look in the sharepoint log files, I see the command line has changed to be
https://myserver/_vti_bin/reportserver?https://{machine_name}/Reports/AdjustmentPlan.rdl&rs:Format=PDF&ParamActionGUID=B9B57C49-558B-471A-8BFD-2853673E8874
I'm not sure why this is happening, but if I can ensure the command line uses the correct SharePoint address, then I think this will fix the problem.
Any questions or suggestions or solutions gratefully received.
thanks
DavidThanks for the reply. I can probably explain easier than screenshots..
The server name is "datacentre-cenet" for example
But the address we use to access SharePoint is https://cenet (ie using the SharePoint Alternate Access mappings). So the command line to call the SSRS report uses the SharePoint name (CENET).
But when I try to export SSRS to PDF, the command line get changed to
https://datacentre-cenet which causes an error
My thought is that somewhere SSRS is using the server name, rather than the correct URL which is
https://cenet
So if I could know where SSRS picks up the server name, I could configure that to fix this issue.
Hope that's more clearer, thanks again,
David -
hi,
I am performing the below operations:
1) Itemupdated event handler when a document is uploaded into the document library
2) Now amreading another list which is in the root site level so, i used spsite, spweb again and accessed that splist and trying to read single line of text column and user or group column.
Now when i am reading this, i am getting the error "Value does not fall within the expected range".
I went to resource throttling under central admin -->my current web appln and changed that value to 20 from 8
even after performing the above, i am getting the same error.
pls help anyone has faced this issue before.
Accessing a splist which is under root site collection within the itemupdated eventreceiver is allowed in SP ?hello sir,
as per my requirement i have to access a splist which is residing in the ROOT SITE COLLECTION OF THIS WEB APPLICATION. the event receiver i have written is residing in one of the few document libraries within the sub site. there are hundreds
of sub sites exist in this site collection. I need to access the root site collection within the itemevent receiver and access thatperson column from that splist. why i ahve kept this list at the root site collection level [
http://server1:2020/ ] , because this splist is the UI for customer's sp admin for performing weekly tasks. like adding few items in the splist and my event receiver fires and check this column- person /group
column ] and apply permissions on the document.
so my doubt is it possible to access the root site collection from my event receiver code.
spweb from properties web is just the subsite url and not the site collection. i want to get the root sitec ollection url's splist.
also am already running this code under runwithelevatedprivileges. -
Value does not fall within the expected range while passing a spfieldlookupvalue in a caml QUERY
i have to pass a column from master list -single line of text - and this will be the lookup of another column in another list
splist1---> column1 [ free text]
splist2--> column2 [ lookup column of the above list -splist1]
now am writing a caml query :
objDisciNodeQuery.Query =
string.Format(
"<OrderBy>" +
"<FieldRef Name='ID' />"
+
"</OrderBy>" +
"<Where>" +
"<And>" +
"<Eq>" +
"<FieldRef
Name='somecolumn' />" +
"<Value
Type='Text'>{0}</Value>" +
"</Eq>" +
"<Eq>" +
"<FieldRef
Name='column2' LookupId='TRUE' />" +
"<Value
Type='Lookup'>{1}</Value>" +
"</Eq>" +
"</And>" +
"</Where>", valueofsomecolumn, lookupidvalueofcolumn2);
SPListItemCollection splistItemAssocCollec
= null;
splistItemAssocCollec = splist2.GetItems(objDisciNodeQuery);
here it throws Value does not fall within the expected range
Anyone has idea why i am getting this error, .
any ideas are appreciated.We can use lookup column in caml query link this
<Where>
<Eq>
<FieldRef Name=’Departments’ LookupId=’TRUE’ />
<Value Type=’Lookup’>10</Value>
</Eq>
</Where>
Multi lookup column reference
http://naimmurati.wordpress.com/2013/12/03/multi-lookup-fields-in-caml-queries-eq-vs-contains/ -
Sharepoint2010: ArgumentException: Value does not fall within the expected range
I have a lookup column 'usertype' in one of my list, that is lookup for another list. and in my code when i try to access this column,
item["usertype"]
i get an error: ArgumentException: Value does not fall within the expected range.
I tried with Lookup Resource Throttling in Central Administration. But still i am not able to access this field. And this field is not programmatically created.
Any idea to solve this..
Thanks in advance.Hi Hemendra,
In the "Course " List there is a lookup field "CourseType"
which is lookup to a list having two values "Internal" and "external"
Here is my code:
SPList Course = Helpers.GetList(web, "Course");
SPListItemCollection Mycourse = Helpers.GetListItemsByField(Course, "Course_x0020_Code", "001");
string CourseType=Mycourse[0]["CourseType"].ToString();
"Helpers.GetListItemsByField" method will return proper result using CAML query. So Mycourse[0] will have all the fields except the one which i mentioned above. There are other Lookup fields in the same list and all works fine. (Assume Mycourse
will always have exactly 1 row.)
Regards,
Vikas -
Server Error in '/' Application. Value does not fall within the expected range
Hi,
I am getting this error when i am publishing my custom webpart in the UAT site, it is created in Visual studio 2008 and i have deployed it in MOSS 2007 site.
I appreciate any help on this. Please see the below error.
Source Error:
Line 20: protected void getDivision(SPWeb web, string strList)
Line 21: {
Line 22: SPList list = web.Lists[strList];
Line 23: ddlDivision.DataSource = list.Items;
Line 24: ddlDivision.DataValueField = "Title"; // List field holding value - first column is called Title anyway!
Thanks,
PrachiHi,
I am receiving this error when i am publishing the web-part page. Web part was developed in visual studio 2008 and deployed in SharePoint 2007 site.
While deployment i am getting any error, this error is occurring only when i am publishing the web-part page.
I checked all the help links and made changes in the web.config file, restarted IIS, add n deleted web-part from the web-part Gallery, added n removed wsp files 2-3 times, everything i did.
If anyone can help me resolving this issue then please send across solution.
Thanks,
Prachi -
SOAP Parsing Error: Server was unable to process request
Hia,
We are working on ABAP Proxy --> SAP PI 7.1 --> SOAP (Asynchronous Scenario).
(ECC -> PI -> Legacy CRM)
System is getting connected and able to send asynchronous messages to legacy system. But getting following error while sending synchronous error:
2010-05-10 13:15:05 Information Delivering to channel: CC_SOAP_SOReject_Out
2010-05-10 13:15:05 Information SOAP: request message entering the adapter with user J2EE_GUEST
2010-05-10 13:15:05 Information SOAP: completed the processing
2010-05-10 13:15:05 Information SOAP: continuing to response message f33caa90-5c07-11df-c659-96d147c2ff0f
2010-05-10 13:15:05 Error SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Object reference not set to an instance of an object.
2010-05-10 13:15:05 Error Adapter Framework caught exception: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Object reference not set to an instance of an object.
2010-05-10 13:15:05 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Object reference not set to an instance of an object.. Setting message to status failed.
2010-05-10 13:15:06 Error The message status was set to FAIL.
I have already checked Data Structure and it is fine.
Regards
In this scenarios we are using XSLT mapping using CDATA.
Please suggest solution.Source structure;
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_SOR_test xmlns:ns0="http://MTSINDIA/TEST/SingleValue">
<ITEM>
<sSlsOrderCode>100</sSlsOrderCode>
<sDlrCode>200</sDlrCode>
<sRejectReason>300</sRejectReason>
<nCircleCode>400</nCircleCode>
</ITEM>
</ns0:MT_SOR_test>
Final Target strucutre accept Web Service
<?xml version="1.0" encoding="UTF-8"?>
<ns1:SalesOrderReject xmlns:ns1="http://tempuri.org/"><ns1:SalerOrderRejXML><ITEM><sSlsOrderCode>100</sSlsOrderCode><sDlrCode>200</sDlrCode><sRejectionReason>300</sRejectionReason><nCircleCode>400</nCircleCode></ITEM></ns1:SalerOrderRejXML></ns1:SalesOrderReject>
The above result is the test result which I got from using CONCAT and CONSTANT function si graphical mapping which is not a feasible solutin. It works in small strucutres but where the data structure is big (lets say 40 nodes) and coplex structure than it will fail.
Cannot use XSLT as CDATA will come in picture. Any other options? -
SOAP Error : Server was unable to process request. Key cannot be null.#
HI, When I process SOAP call from ABAP using class csoaptransporthttp->request_response, I am getting following error message:
"Server was unable to process request. > Key cannot be null.##Parameter name: key"
Is anybody as the clue to resolve this error ?Hi,
if you're doing a SOAP client - did you compare with this example:
http://help.sap.com/saphelp_47x200/helpdata/en/2d/64d053e74911d6b2e400508b6b8a93/content.htm
Regards,
Michal Krawczyk -
Error in RWB i.e Server was unable to process request
Dear Friends,
I am working on File to SOAP scenario for multiple values.
I have 20 Fields each field is having multiple values in sender side these multiple values I need to send to .Net system.
From ECC it is picking successfully but posting to target system I am getting the problem.
I have taken the sender side 0 to unbounded and target side they provided 0 to unbounded.
For single value it is working fine, but for multiple values I got the error like:
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Object reference not set to an instance of an object.
Please suggest me .
Regards,
Shalini ShahCheck my response here: Re: Receiver SOAP Communication Channel Error
I have taken the sender side 0 to unbounded and target side they provided 0 to unbounded.
For single value it is working fine, but for multiple values I got the error like:
Are you sure that your WS actually supports 0..unbounded occurence......also verify that your mapping is generating required output
Regards,
Abhishek. -
I'm using the following code to retrieve order list is working fine but it give me an error Server was unable to process request ERROR: A server error has occurred when I trying to retrieve order total paid with same code: and the output when retrieve order total paid is [object Object]
var wsUrl = "https://mysite.worldsecuresystems.com/CatalystWebService/CatalystCRMWebservice.asmx?WSDL";
var RetrieveTotalPaidXML =
'<?xml version="1.0" encoding="utf-8"?>\
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">\
<soap12:Body>\
<Order_RetrieveTotalPaid xmlns="http://tempuri.org/CatalystDeveloperService/CatalystCRMWebservice">\
<username>user</username>\
<password>pass</password>\
<siteid>111222</siteid>\
<orderId>112345</orderId>\
</Order_RetrieveTotalPaid>\
</soap12:Body>\
</soap12:Envelope>';
$.ajax({
type: "POST",
url: wsUrl,
Host: "mysite.worldsecuresystems.com",
contentType: "application/soap+xml; charset=utf-8",
data: RetrieveTotalPaidXML,
dataType: "xml",
success: processSuccess,
error: function(){alert("Error: Something went wrong");}
function processSuccess(ResData) {
var RetrieveTotalPaidParse = $.parseXML(ResData);
var $xmlRetrieveTotalPaidParse = $(RetrieveTotalPaidParse);
var $Order_RetrieveTotalPaidResult = $xmlRetrieveTotalPaidParse.find('Order_RetrieveTotalPaidResult');
$Order_RetrieveTotalPaidResult = $(this).find('Order_RetrieveTotalPaidResult').text();
$('#RetrieveTotalPaidResult').text(Order_RetrieveTotalPaidResult);
I think there a bug in BC CRM Web Service when trying to make a request for Order_RetrieveTotalPaid using soap need to be fixPerhaps it would be good to update the sample request as shown on the Developer reference page for this method (and, actually ALL of the SOAP samples)
The sample shows siteid (all lower case) -
I am working with the API for the first time, and I am currently trying to figure out how to pull a list of products from a cat using the Product_ListRetrieve, I keep getting this error
Server was unable to process request. ---> ERROR: This site is not hosted on this data centerOkay so if anyone else is having these issues I found an answer for MVC3 C#:
Go into the Web Config and look at the Application Settings, by editing the URL there you can find a value containing the service url. add the subdomain there:
Example-
<applicationSettings>
<ITCatExtend.Properties.Settings>
<setting name="ITCatExtend_CRM_CatalystCRMWebservice" serializeAs="String">
<value>https://Add the Sub Domain Here.worldsecuresystems.com/CatalystWebService/CatalystCRMWebservice.asmx</value>
</setting>
<setting name="ITCatExtend_Ecom_CatalystEcommerceWebservice"
serializeAs="String">
<value>https://Add the Sub Domain Here.worldsecuresystems.com/catalystwebservice/catalystecommercewebservice.asmx</value>
</setting>
</ITCatExtend.Properties.Settings>
</applicationSettings> -
Error: Server was unable to process request. --- Object reference not set
Hi All,
I am using ALSB 2.6.
In the project, i have requirement to do transformation of incoming request with CData Tag and getting a response from the remote service.
I have configured the Proxy Service and Business Service with a message route in which transformation is happening using replace action and adding a XSLT there.
While sending the request from ALSB Test Console , its doing the transformation correctly as follows:
Transformed Request at ALSB
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<lif:MultipleTermLifeQuotePublic xmlns:lif="https://www.farmerslife.com/LifeNetWS/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<lif:xmlInput>
<TERM_LIFE_RATE_QUOTE>
<Quote_Request Quote_Sequence = "100">
<Face_Amount>
1000.00
</Face_Amount>
<Gender>
male
</Gender>
<Age>
100
</Age>
<Level_Term_Years>
100
</Level_Term_Years>
<Type>
string
</Type>
<Nicotine>
true
</Nicotine>
<CIR_Amount>
1000.00
</CIR_Amount>
<State>
string
</State>
<Waiver_Premium>
false
</Waiver_Premium>
</Quote_Request>
</TERM_LIFE_RATE_QUOTE>
</lif:xmlInput>
</lif:MultipleTermLifeQuotePublic>
</soapenv:Body>
After transformation, when its passing through Business Service its giving the followin error at ALSB console
<soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>
Server was unable to process request. ---> Object reference not set to an instance of an object. </faultstring>
<detail/>
</soap:Fault>
</soap:Body>
[b]When i am sending the same request through SOAP UI, I am getting a correct response.
Can any one guide me what to do regarding this, where i am going wrong.
Please try to reply as soon as possible. Its an urgent issue.That error you're getting is a typical error message from Windows web services. It simply means there was something unspecified that was wrong with your message. You'll need to find a way to extract the actual message being sent in both the "good" and "bad" cases and look at the differences. You can do that in ALSB with a "Log" action.
Maybe you are looking for
-
IWeb, HTML Snippet, and MySQL via GoDaddy (db already built)
I have a site (zigcodes.info) that is hosted by GoDaddy. I built the site using iWeb. No complaints there. I have a MySQL database and table built to store codes added by users. There is also one called "hit list" on another page, but I haven't finis
-
I add songs to itunes, but ipod will not update!
I imported songs onto my itunes library. But when I plug it in the usb to update, it will automatically disconnect after 5 minutes, and the ipod will not update. I've tried adding all music, and just checked songs; both do not not work. I have versio
-
Playing an audio file from applet
Hi friends, I have a problem to be solved . Please help me. I have to play an audio file from applet.When the applet loads it shold start playing .There is a progress bar in the applet it shold alsomove corresponding to that. How can i do that.Give m
-
Find the installation Path of the current running VM on Windows
Hello, I have a java class started by webstart. In this class I would like to find the absolute path of the current running vm? This is important to me because I need to start an exe file (using ProcessBuilder) and hand it the path of the java VM, Fo
-
for intercompany PO ( STO ) can we have a markup ( some percentage ) in the pricing procedures? if so, how ....what config i should do ..to get the markup ....Please post ..Thank You Edited by: Bob on Sep 4, 2008 6:11 PM