You need to sign in to do that
Don't have an account?
RamaKrishna
Server was unable to read request - outboundmessaging
Hi:
Iam getting the below error when i made a call from force.com to external .net web service (.net version 2.0)?
Server was unable to read request. ---> There is an error in XML document (12, 6). ---> The specified type was not recognized: n
Please help me out how to resolve this?
Thanks,
RK
I have the same problem.
The situation is the following.
I'm using outbound messaging.
For each object (e.g. a Case) a workflow with an outboundmessage with sends all fields.
Each outbound message has its own generated .wsdl file.
These .wsdl file are implemented in Dotnet.
Salesforce exists out of a large numbers of objects and the number of available ports in our server are limited.
Therefor:
In ISS (ver 6. using (ASP).NET 2.0) I have create a web site.
This web site has its own port number.
This web site exists out of several web services (asmx) files.
Each web service has its own unique namespace.
At the moment I'm not working with a compiled version of the web site.
Sending one notification from Salesforce to our server is working
when I have created strictly one web service for this web site or
set this web service as the standard document in IIS.
But the second notification (e.g. a delivery address) is not recognized by
our web server and therefor Salesforce response (I guess) with
the following message.
Server was unable to read request. --->
There is an error in XML document (12, 6). --->
The specified type was not recognized: n...
How to solve this one?
Solving in Salesforce?
In IIS?
In code? allready using unique namespaces.
Regards
Message Edited by valentinoromeli on 09-18-2008 03:44 AM
Change your endpoint (of the outbound message) to the specific web service to map;)
Hi,
I have one question for you.
on outbound messaging the endpoint URL must be any web service or we can give URL with .aspx page
Exampale http://mysite.com/sForce.aspx
the above is right?
Thanks in advance.
Manas
Hi,
I have one question for you.
on outbound messaging the endpoint URL must be any web service or we can give URL with .aspx page
Exampale http://mysite.com/sForce.aspx
Yes. But an aspx file is not a web service, asmx is
So probably it will be:
http://mysite.com/sForce.asmx
If you are using https it wil be
https://mysite.com/sForce.asmx
If you only have an ip it will be
http://yourip/sForce.asmx
if you are using a specific port number it will be
http://yourip:YOURPORTNUMBER/sForce.asmx
Make sure your web server accepts calls and only from and to *.Salesforce.com.
gr,
Valentino Rijhen
Message Edited by valentinoromeli on 09-18-2008 06:19 AM
Thanks Valentinoromeli
May be i need more assistance with you in future.
Thanks in advance.
Manas
Hi,
I would like to know few things from you.
let me explain you my sanario.
I have my own application, having multiple companies which having their proaspect on salesforce.
i want when ever any new Lead is created,updated or deleted on salesforce then my company database should be updated(if any lead is deleted from salesforce the that lead must be deleted from my local database)
is this possible through only outbound messaging or is their is any other way?
if it possible only through outbound messaging then company will do the seetings for outbound message workflow?
Please help me out on this..
Thanks in advance
Manas
Message Edited by Munna on 09-20-2008 02:43 AM
Define a workflow via the setup options in Salesforce.
Give it a name, select an object to be notified when it is changed.
Download the outbound message .wsdl file to implement a asp.net web service (the listener)
Or calling a stored procedure or...
Another way is calling a web service via (partly generated) Apex code from an s-control (something like a web part).
Outbound messaging is easier, you have to do less.
Best way to handle this is by setting op a test environment (test.salesforce.com).
allready got one? you can create one from your current Salesforce account
Valentino Rijhen
Message Edited by valentino rijhen on 09-22-2008 01:19 AM
Message Edited by valentino rijhe on 09-22-2008 01:33 AM
If your account is only for testing then it will do, otherwise you can ask your administrator.
I guess in the developers environment you have all the needed functions available to set up your functionality.
Regards
Message Edited by valentino rijhe on 09-22-2008 03:17 AM
gr.
Valentino Rijhen
Don't think it is what he is looking for.
Indeed a lot of this info is documented in the *.docs but a lot isnt
like calling an external .net web service from an apex trigger which is not possible.
For example when creating an outbound message you cannot see the "users" object,
Isnt documented either.
When creating some custom objects you can make these visible for certain users and user groups.
Valentino Rijhen
Message Edited by valentino rijhe on 09-23-2008 08:55 AM
Hi
Actually i would like to view my applilcation screens and reports from within salesforce.
how can i do this.
please let me know the steps for this.
Thanks in advance
Manas
sforce.GetServerTimestampResult gstr = binding.getServerTimestamp();
setLastLoginTime = gstr.timestamp;
but above function return the diffrent time.
please help me out on this.
Thanks in advance.
Manas
sfdc = new sforce.SforceService();
try
{
// call SF login method
sforce.LoginResult lr = sfdc.login(usr, passwd);
sfdc.Url = lr.serverUrl;
sfdc.SessionHeaderValue = new sforce.SessionHeader();
sfdc.SessionHeaderValue.sessionId = lr.sessionId;
curSessionID = lr.sessionId;
curURL = lr.serverUrl;
// log result
SessionLog += String.Format("Login OK for user {0}\r\n", lr.userInfo.userFullName);
return true;
}
Why needed a server time?
Wouldnt a client datetime do fine?
Regards,
Valentino Rijhen
Message Edited by valentino rijhe on 09-29-2008 02:59 AM
What do you wanna know about Apex classes?
Regards,
Valentino Rijhen