Survey Parameter XML for http(s)
Hello Gurus an Experts,
I try to send a survey via attachment of an email. I would like to use http, but I don´t get the sendfile in the survey suite when I try to download a presentation format (It works for bsp).
I´ve read the sap-note 836945 for generating urls and I made it work for bsp. The problem here is, that the customer needs a system access to store the survey.
It would be much better to do this via http(s) but when I try to change the xml parameters for http(s) I don´t know what to fill in for connectorID (additional conector of external cat-server). Then I get an alert "connector . . . not(yet) defined.
It would be great if someone could help me.
Fabian
Hi Alicia,
I've got an answer to my OSS Message and they pointed me to this Pages in the CRM 5.0 Documentation: [XML Parameters|http://help.sap.com/saphelp_crm50/helpdata/en/e2/5756cb769ae745aa2f5ca5ff95d63c/frameset.htm] and [url Usage|http://help.sap.com/saphelp_crm50/helpdata/en/bb/dc4c46cae59d45a07569cb29f7b08f/frameset.htm]. The [url Usage|http://help.sap.com/saphelp_crm50/helpdata/en/bb/dc4c46cae59d45a07569cb29f7b08f/frameset.htm] is interesting because of the last sentences:
"Here, the survey results are first sent to a Survey Mailer. In this case, the Survey Mailer receives the http request and then mails the results to the CRM Server Mail User, where they can be processed. The Survey Mailer needs to be set up the administrator at the customer."
So I think the solution I've posted on the SCN Wiki: [Survey processing without opening a connection to the CRM Backend from the Internet |https://wiki.sdn.sap.com/wiki/x/ioAQB] is the way to go. I've now also added an PHP Script Example Code which shows how to the POST parameters can be extracted sent via E-Mail on the Server and not on the client side.
I hope that helps.
Best regards
Gregor
Similar Messages
-
hi can someone explain to me when the following survey XML parameters should be used.
1) bsp
2) mailto
3) https
4) http
5) httpsmailto
6) httpmailtoHi Noobie,
For a survey to be accessible via the Intranet, Extranet and Internet, you first need to define the Get and Send options. The Get option specifies how the survey is sent to the recipient, whereas the Send option specifies how the results are later sent back when the recipient submits the survey.
http, https are the Get Options.
mailto, http, https, are the send options.
In Internet scenarios, you can have the results sent back as follows:
Mailto, http(s)
Further info is available on http://help.sap.com/saphelp_crm50/helpdata/en/2c/2ddf3ac9ecc11de10000000a11402f/frameset.htm and the URL Usage link
Hope this would help.
Regards,
Rekha Dadwal
<b>You gain a point for every point that you reward. So reward helpful answers generously</b> -
Sap survey repository xml parameter http
Hi,
Can somebody help me with the parameter xml ind the survey repository?
For http xml, I have to implement Code like this:
<SurveySystemParam Action="http://sss:ppp/yyy/SAPSVY?cmd=svyResult"
sss stands for the server
ppp for the port
but for what stands yyy?
Rgdrs
HayitI thought you only needed to know what the yyy was
As to getting HTTP to work, it's difficult to figure out and we continue to wait for someone to tell us how to set the ConnectorID
Perhaps this thread will help you:
Survey Parameter XML for http(s) -
Setup a parametered xml source for xsl?
Hi there ppl!
I'm using xsl transformation to display some xml data on my php pages. The basic stuff is pretty clear to me but I have an issue that I just cannot figure out myself: after having displayed a lit of records from an xml source I want to display some details when clicking on a specific item. This also should be pretty simple in theory but....my xml are not static files, they get generated on the fly by some server app, the source being something like:
http://www.website.com/get_xml
On a php page I read the xml source and write the output and I use that php file as my xml source.
The problem arise when my xml is genrated by a parametered query like:
http://www.website.com/get_xml?id=9999
I want to pass the id parameter from my list to the detail page where it will be used in the DWXMLSource:
DWXMLSource="http://www.website.com/get_xml?id=xxxx
where id is the url parameter value passed by the listing page
Can I do it??
Thanx for your help!The XSLT fragment extracts the data from the XML file and formats it according to your instructions. The following tutorial in the Adobe Developer Connection explains how to create the XSLT Fragment: http://www.adobe.com/devnet/dreamweaver/articles/server_side_xsl.html.
Since you're working with a dynamically generated XML document, the best way to create the XSLT Fragment is probably to save a copy locally of the XML output, and use that as a static XML source. Once you have created the XSLT Fragment, you should be able to use the URL of the dynamically generated source and pass the parameter to it as described before.
All this depends on the XML output being of a predictable nature. If different parameters produce a completely different XML structure, it won't work. For example, if the XML output always uses <feed> as its root element and <item> as a repeating element, it should work. However, if one parameter produces output with <feed> and another parameter uses <photos>, it won't work.
I have used XSLT fragments to display the output of RSS news feeds. RSS has a fixed, predictable structure, so it works just fine. -
How to config receiver http adapter for HTTP POST without XML tags ??
Hi All,
Can you please provide some infornation on How to config receiver http adapter for HTTP POST (Request) without XML tags ?? Our receiving product doesn't support XML formats.
Is there any option to bypass server authentication on the XI?
If anybody has the same experience or know how to please provide inputs.
Thanx
NavinHi,
you can use xsl mapping for this in which u xtract
the contents only but not the xml tag.
Ranjit -
Designing services for xml over http client requests
Hi
I am new to WebServices and Weblogic Integration. I have been using it for only over a month. I have a very basic design issue.
We have to provide a service that
1. accepts xml over http requests
2. Returns a request ack
3. Process Form a response -This activity consumes time so it will be made asynchronous
4. Send the response as xml over http
5. Wait for response ack
6. Get another type of request from client, the processign of which depends on the result of the previous request .. and so on..
The problem here is that Webservices accepts only SOAP messages but our client will send raw xml messages. Also we need to remember the condition of the previous state.
I dont know if my assumption that SOAP is used is right.
Please tell me how to design a raw xml based system without using SOAP messages.
Thanks
nithyaI don't see nothing wrong with your code, there must be something else happening.
You sure you are not being some proxy server?? but even then you are making a post request so it shouldn't be happening.
MeTitus -
Hi,
I would like to use IDOCS on my SAP ECC6 EHP4 (ABAP). Our functionals are planning to use HTTP-XML function for IDOCS.
My question is , do we require a JAVA stack for it to work? Secondly, does anyone has a configuration guide what to do for HTTP-XML to works?
Thanks,
Azir.Hi,
In what format are you supposed to send the idocs to the 3rd party systems, in IDoc XML or Idoc flat structure?
If you need to send it as falt file and are on Ehp 1, you can make use of the IDOCXMLToFlat converter module
http://wiki.sdn.sap.com/wiki/display/XI/UsingJAVAIDOCModuleswithCustomorExtendedIDOC
http://help.sap.com/saphelp_nw73/helpdata/en/74/a45bc07e2043fb9b63295229178903/content.htm
The module can be called from any J2EE based adapter.
Else, you need to follow the below mentioned approach of an Abap mapping to do the conversion.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a?quicklink=index&overridelayout=true
Regards -
Hi all
can anyone send me the XML code to write in HTTP client to know the structure for a table using a scenario. I already developed the scenario for HTTP to JDBC just post me the XML code.
Thanks and Regards
Raghu.Hi
Go through this
You can find a description here:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
Might be useful
Thanks -
WebLogic: Can I use CMP for HTTP/XML calls like I can for JDBC ConnPools
I have an Entity EJB that I currently persist using WebLogic's CMP with an Oracle Conn Pool and JDBC. I have a new persistance (home-made) storage system that talks XML over HTTP. No real SOAP implementation except in the XML/HTTP communications.
Questions:
Can I still leverage CMP to persist entities - such that I could create a pool of XML/HTTP objects (that open a java.net connection - send a URL request in XML format) and have CMP handle persisting as it does now?
I would think there is some universal way to create a pool of communication objects to talk to anything if you define the mechanisms..right? If so, how do I get CMP to see that? In other words, is CMP only applied to "Known" data sources? Or can I give it my own..create my own weblogic-cmp.xml file.So, you have a home-made persistence solution with your own API and you expect CMP (_Container_ Managed Persistence) to be able to hook into that? Unlikely, right?
Maybe you could implement a JDBC driver on top of your persistence scheme, then you might have a shot.
Vlad.
P.S. Entity beans' performance is so bad everyone recommends against using them -- doing persistence over something as slow as HTTP would only make matters worse. -
CRM - survey suite - XML files - descriptions
Hi,
would it be possible to add some more documentation
to page:
http://help.sap.com/saphelp_crm40/helpdata/en/e2/5756cb769ae745aa2f5ca5ff95d63c/content.htm
about XML configuration files ?
for http, https, scenarios?
there are quite a few parameters like: ConnectorId
which are not described anywhere
and certainly it would make life
much easier if we could read something
about them
Regards,
michalHello Shabnam,
I faced a similar problem and this is the solution after which the URL starts working is as follows:
Refer note: 857535 and do the following:
TCode: se24 -- CL_SURVEY_CATSERVER
Execute method SET_CATSERVER_ABAP
Leave parameter USER empty.
Now check the survey URL will start working.
Regards,
Khushboo
<b>Do reward points !</b> -
How to get built.xml for ear file in jdeveloper?
Hi,
I am using JDeveloper to create EAR file for my ADF Fusion Application. I think Jdeveloper use ant to create EAR file. I know how to get built.xml for my war file.
Can anyone tell how to get that built.xml that create EAR file in Jdeveloper.?This blog explains:
http://adfhowto.blogspot.com/2011/03/ojdeploy-deploying-adf-application-from.html
Based on the blog, I simply copied an existing project "deploy" target definition and augmented the project's build.xml with a new target "deployApp" that omits the Project parameter to ojdeploy. This causes ojdeploy to build the workspace-level deploy profile instead. I also omitted the output directory parameter (default is app's /deploy folder) and assume that there is only one application deployment profile (i.e. the default for profile parameter is the '*' wildcard). You can augment the build.properties file if you need to get fancier than that.
<target name="deployApp" description="Deploy Complete YourFoo Application"
depends="init">
<taskdef name="ojdeploy"
classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask"
uri="oraclelib:OJDeployAntTask"
classpath="${oracle.jdeveloper.ant.library}"/>
<ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
executable="${oracle.jdeveloper.ojdeploy.path}"
ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
<ora:deploy>
<ora:parameter name="workspace"
value="${oracle.jdeveloper.workspace.path}"/>
<ora:parameter name="profile"
value="${oracle.jdeveloper.deploy.profile.name}"/>
<ora:parameter name="nocompile" value="true"/>
</ora:deploy>
</ora:ojdeploy>
</target> -
How to do document offset in Simple Plain to XML for Zip file Sender side
Hi,
Scenario is .zip file to IDOC, A idoc per a record. .Zip file has simple Plain structure like below. Tab delimiter.
Name number code country Rating Item
ABC 123 C4 IND I2 PRD
ABD 123 C4 IND I2 PRD
ABE 123 C4 IND I2 PRD
I am using Adpater Module and Header is generating a IDOC (total 4 IDOCs) in ECC. I would like to use similar to file 'document offset ' option in Adapter Module to skip the header row. so, I need only 3 IDOCS.
plain2XML and using MsgTransfermationBean.
I tried with
xml.documentSkipFirstRows=1
xml.documentOffset=1
xml.addHeaderline=0
I came to know that above all for STRUCTURAL Plain parameters so no use.
I checked this http://forums.sdn.sap.com/thread.jspa?threadID=1223739
http://help.sap.com/saphelp_nw04/helpdata/en/70/f3cbad30ee479cb15672219f3405f0/frameset.htm
Could you please help me with proper parameter to skip the header/first record of the file.
Thanks
shoukatHi Shoukat,
Try with the following parameter:
xml.processFieldNames = fromFile
As of SAP Help: "means that the field name information is located in the header line of the file to be converted."
Hope this helps,
Greg -
Generate Photo Gallery XML for Spry with Adobe Bridge
Wanted to post a note to what I've discovered/worked out -- a
way to
generate a very useful photos.xml from Adobe Bridge. If you
use Bridge,
it's very easy to add titles, keywords, ratings -- all kinds
of metadata
that one might use in a photo gallery. Here it is in case
anyone wants
to use.
The script is based on one I found at the Adobe User to User
Bridge
Scripting Forum for exporting a CSV file.
Note 1: this particular script doesn't take into account
CDATA that
might exist in your metadata, like ampersands in your title.
I've just
avoided using those, but you could also have the script write
out a
CDATA node for that info instead.
Note 2: this script does not write out a thumbpath,
thumbwidth or
thumbheight attribute. But usually the thumbpath is the exact
same as
the regular "path" attribute, and the thumbwidth and
thumbheight are
just a ratio of the regular "width" and "height" attributes.
I added a
bit of JS to the gallery.js file to calculate those before
growing the
thumbnail on rollover.
Personally I'm using keywords as categories and titles as
captions and
sorting by rating (stars in Bridge), so here's the .jsx file
I created.
The script should be saved to the folder "StartupScripts" in
Program
Files/Common Files/Adobe.
Hope this is useful for others too!
#target bridge
if (BridgeTalk.appName == "bridge" ) {
// create menu
var menu = MenuElement.create( "command", "Export XML File",
"at the end
of Tools");
menu.onSelect = function(m) {
try {
// ask for the name of the output file
var f = File.saveDialog("Export XML file to:", "XML
File:*.XML");
if ( !f ) { return; }
// open filestream and write first line
f.open("w");
f.writeln("\<photos\>\r\r");
// get a list of all the visible thumbnails in Bridge
var items = app.document.visibleThumbnails;
for (var i = 0; i < items.length; ++i) { var item = items
f.writeln("\<photo path = \"" + item.name + "\"" + "\r" +
"width = " +
"\""+ getWidth(item) + "\"" + "\r" + "height = " + "\""+
getHeight(item)
+ "\"" + "\r" + "rating = " + "\""+ getRating(item) + "\"" +
"\r" +
"categories = " + "\""+ listKeywords(item) + "\"" + "\r" +
"caption = "
+ "\""+ getTitle(item) + "\"" + " \>" + "\r" +
"\<\/photo\>\r\r" ); }
f.writeln("\<\/photos\>");
f.close();
} catch(e) {
function getTitle(tn) {
md = tn.metadata;
md.namespace = "
http://purl.org/dc/elements/1.1/";
var varTitle = md.title;
return varTitle;
function getWidth(tn) {
md = tn.metadata;
md.namespace = "
http://ns.adobe.com/tiff/1.0/"
var varWidth = md.ImageWidth;
return varWidth;
function getHeight(tn) {
md = tn.metadata;
md.namespace = "
http://ns.adobe.com/tiff/1.0/"
var varHeight = md.ImageLength;
return varHeight;
function getRating(tn) {
md = tn.metadata;
md.namespace = "
http://ns.adobe.com/xap/1.0/"
var varRating = md.Rating;
return varRating;
function listKeywords(tn) {
md = tn.metadata;
md.namespace = "
http://ns.adobe.com/photoshop/1.0/";
var Keywords = md.Keywords;
var varKeywords = "" ;
for ( var i = 0; i < Keywords.length; ++i ) { varKeywords
= varKeywords
+ Keywords + ","; }
return varKeywords;I updated the script so it exports an XML file from Bridge
with full
compatibility with the Spry Demo Photo Gallery, to use as
photos.xml.
It's at the same address:
http://www.imagicdigital.com/spry/bridge_export_xml.zip
To Use:
The script goes in the folder "StartupScripts" in Program
Files/Common
Files/Adobe.
Launch Bridge and browse to a folder that contains the files
you want in
your gallery -- the "source" folder, as it were.
Choose the menu command "Tools > Export XML for Spry
Gallery".
Type a name for your XML file in the Save dialog box, choose
a location,
and hit "Save".
In the dialog box that pops up, enter a max length/width for
your
thumbnails, in pixels. Some common sizes are "75" , "100" or
"125".
Hit "OK". You should see an alert pop up telling you "XML
file
successfully created!" -
Specifying coherence-cache-config.xml for multiple clusters
Hi,
I am running two cache clusters (Cluster A and B that hold different cache types). we have a web application that needs to communicate with both the clusters. we have two coherence-cache-config-g.xml files, one for each cluster.
where do we specify the two coherence-cache-config.xml for each of these clusters in our coherence.jar that we deploy on the web app server.
pls provide some inputs...
thanks in advance,
- G.Hi G,
You can define a path to the cache configuration descriptor in your operation configuration override file (tangosol-coherence=override.xml) or specify it in the system property "tangosol.coherence.cacheconfig".
Please see this Wiki page for details:
http://wiki.tangosol.com/display/COH32UG/configurable-cache-factory-config
Regards,
Gene -
Data template with xml over http
Hi!
I have a data template what should get data from xml file.
<dataTemplate name="ccbXML" description="For xml output">
<properties>
<property name="debug_mode" value="on"/>
<property name="include_parameters" value="true"/>
<property name="include_null_Element" value="true"/>
<property name="scalable_mode" value="on"/>
<property name="db_fetch_size" value="1000"/>
</properties>
<dataQuery>
<xml name="DATA_XML">
<url method="GET" realm="" username="" password="">http://my.site.sise/00000000070000000001.xml</url>
</xml>
</dataQuery>
</dataTemplate>
The result is:
<CCBXML>
<LIST_data_xml></LIST_data_xml>
</CCBXML>
When I use:
<url method="GET" realm="" username="" password="">file:///D:\files\result.xml</url>
then I get a parsal result from the XML (it is not structuated and it does not show all the xml content, only random tag's).
In the end it is not possible for me to use the file protocol because the xml is generated dynamically in a http page. Is it even possible to use the http protocol in data template? Or is anything else wrong with my data template that I'm not getting the right result (even with file:///)?
I work BI Publisher Enterprise Release 10.1.3.4
EvelynCould u please send the working example for http binding on SOA Suite 11 g.
Thanks and Regards,
Anil verma
Maybe you are looking for
-
Why am I seeing "invalid code" when installing on my second Mac?
After I enter my redemption code for Lightroom 5, it says: "The code you entered is invalid. Please try again." Thanks anyone!
-
Adding an additional CAS to an existing NAC OOB deployment 4.7.3
Hi Guys, If I am to add the Self-generated certificate of my new CAS to my existing CAM's trusted certificate authorities list, will it just be added or will it replace the existing trusted certificate?
-
T61p: Help with UltraNav program and drivers
Hello I have a T61p 6459 cto And haveing an issue where my UltraNav isn't loading when i go to mouse properties I currently use the red "dot" thing in the middle of the key board and wish to turn the touch pad off however the program that allowed me
-
WHY IPHONE DOESNT ALOW US TO USE LTE IN IPHONE 5 IN PAKISTAN
WHY IPHONE DOESNT ALOW US TO USE LTE IN IPHONE 5 IN PAKISTAN
-
How to install and configure Essbase in System i or AS 400
Hello All, I have given task by my employer to install Essbase 11.1.1.3 in AS 400 system. Can someone guide me that what steps and what do i need to finish that task. I do know how to install and configure Essbase in Windows but I have never get chan