How do I extract xml from web service
I am using a web service to send a soap envelope to a third party and I need to troubleshoot the data being sent.
How do get the code to show me the xml it sending in the soap envelope?
Hi jmatrone,
As your issue is related to web service, it is not supported here.
You could post it in the ASP.net forum for better supports, thanks for your understanding.
http://forums.asp.net/
Best regards,
Youjun Tang
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Binding xml from web service to java objects
I would appreciate if someone can tell me where can i get information regarding
binding of xml from web service to java objects in weblogic 6.1 .
Thanks,
agHi Ag,
To my knowledge, the only information on this topic is whatever you find in the
documentation. What exactly do you want to know?
Can you post a set of specific questions?
Regards,
Mike Wooten
"ag" <[email protected]> wrote:
>
I would appreciate if someone can tell me where can i get information
regarding
binding of xml from web service to java objects in weblogic 6.1 .
Thanks,
ag -
How to catch client information from web service server side?
Is there any possibilities to get the client information (any id or ipaddress or anything) from web service running server side(or in console)? I didn't get any idea how to catch this information. If someone knowing this, that would be great and appreciate that help.
hellloo to u tooooooo
if u r using any request object u will get the host ipaddress as
request.getRemoteHost() funciton
regards
shanu -
GET, Modify, POST XML from Web Service Requests (Webtests)
I'm using load testing to exercise an API, so I'm creating many small webtests which mimic typical user operations. One of my operations will be a GET of transaction data and a PUT of that same data, slightly modified.
I'm able to capture the response from the GET in an extraction rule and resubmit to the API, the question is how to manipulate the XML so that there's a small typical edit. What's the best way to do this?
I understand the nature of the web test plug-ins, as the "cartilage" around the bones of the webservice requests. I would much rather angle towards a plugin than convert to a coded test and modify that way. I like the normal non-coded
test interface but I dont know that the webtest plugin nor webtest request gives me the granularity the coded webtest does. Unfortunately, I dont like the fact I can't easily debug through the coded webtest.
This seems like a straightforward operation. Do I understand all my options? How would you do this?On further review, I might have figured this out. I misunderstood something I read online. The web test request plug-ins can be associated with an individual service call and aren't automatically applied to all service calls in a web performance
test collection.
.. I can do something like this to access my captured context information and manipulate the XML via XDocument/XElement. - This demonstrates how to get my captured {{ResponseDocument}} from the extraction rule.
public class XmlModification : WebTestRequestPlugin
public override void PreRequest(object sender, PreRequestEventArgs e)
MessageBox.Show(e.WebTest.Context["ResponseDocument"].ToString());
Difficile est tenere quae acceperis nisi exerceas -
Import/Load XML from Web Service or URL?
Hi,
Like many, I'm new to LCD 8.2. I have a form with subforms and repeating rows currently bound via a schema, but that can change if need be. I'm able to import/export file-based XML and that process works well.
However I'd rather not subject my end-users to browsing for an XML file, and loading it, and I'd like to provide something more elegant. In short, I'd like to import XML from either a web service (returning a single value being the XML document) or by loading the XML directly from a URL by a single button click.
Is this possible?
Much appreciated,
Davehttp://blogs.adobe.com/stevex/2007/06/http_post_update.html
http://forms.stefcameron.com/2007/05/21/connecting-to-a-web-service/
http://www.flexlive.net/?p=70 -
Having a problem parsing XML from web service & dropdown list
I have 2 data connections that are programmatically invoked via exit event on different fields in form. Both have identical code with only difference is that one populates a multiselect list box and one populates a drop down list. The one that populates the listbox works fine. Everytime Field A changes, it is fired and the results parsed then listblox updated. The one with the drop down list is not working at all. The form is used in Workspace. When I use the javascript debugger, I see the correct node values output to the console window. The problem is that the value is not successfully added to the drop down list existingFileNumber. Anyone have any great ideas? Like I said, this works perfectly in the same form for a different web service and a listbox.
Here is the code for firing and parsing the dropdown list data:
Form.sRoutingTransmittalSlip.sPreparer.existingFileNumber.clearItems();
Form.sRoutingTransmittalSlip.phaseHidden.rawValue="PI";
xfa.connectionSet.getInfo.execute(0);
var pls2=xfa.datasets.createNode("dataGroup","pls2");
pls2.loadXML(Form.sRoutingTransmittalSlip.fileNumbersHidden.rawValue,false,true);
xfa.datasets.data.nodes.append(pls2);
var dataGroup=xfa.resolveNode("xfa.data.pls2.Matters");
var dataGroupLength=dataGroup.nodes.length;
if (dataGroupLength==0) {}
else {
for (var i=0;i<dataGroupLengthl;i++){
console.println(dataGroup.nodes.item(i).nodes.item(0).value);
Form.sRoutingTransmittalSlip.sPreparer.existingFileNumber.addItem(dataGroup.nodes.item(i ).nodes.item(0).value);Do this instead
[Bindable]
var xlTopics:XMLListCollection;
private function LoadResults(event:ResultEvent):void{
var xmlResult = XML(event.result); //only use lastResult in
binding expressions
trace(xmlResult.toXMLString()); //to be sure of what you have
xlTopics = new XMLListCollection(xmlResult .children());
//all the child nodes of the root
Tracy -
How can I extract XML from a text document?
I have tons of text documents containing useless text and a section of XML. I would like to use either Mac Automator or Apple Script to pull the XML section out and place it in a new document with a .xml extension. How can I do that?
Here is a sample of the XML section that I need to pull:
- ---Start ACNS XML
<?xml version="1.0" encoding="UTF-8"?>
<Infringement xsi:schemaLocation="http://www.movielabs.com/ACNS/ACNS2v1.xsd" xmlns="http://www.movielabs.com/ACNS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Case>
<ID>22242387629</ID>
<Status>OPEN</Status>
<Severity>Normal</Severity>
</Case>
<Complainant>
<Entity>MPAA Search and Notify</Entity>
<Contact></Contact>
<Address></Address>
<Phone>5555555555</Phone>
<Email>[email protected]</Email>
</Complainant>
<Service_Provider>
<Entity>Some Place, Somewhere</Entity>
<Contact></Contact>
<Address>Some Place, Somewhere </Address>
<Phone></Phone>
<Email>[email protected]</Email>
</Service_Provider>
<Source>
<TimeStamp>2011-12-02T23:41:59.94Z</TimeStamp>
<IP_Address>127.0.0.1</IP_Address>
<Port>64153</Port>
<Type>P2P</Type>
<SubType BaseType="P2P" Protocol="BitTorrent" />
<UserName></UserName>
<Number_Files>1</Number_Files>
</Source>
<Content>
<Item>
<TimeStamp>2011-12-02T23:41:59.94Z</TimeStamp>
<AlsoSeen Start="2011-12-02T23:40:00.11Z" End="2011-12-02T23:41:59.94Z"></AlsoSeen>
<Title>asdfasdf (2011)</Title>
<Artist></Artist>
<FileName>asdfasdf (2011) DVDRip XviD-MAXSPEED</FileName>
<FileSize>1580908467</FileSize>
<Type>Video</Type>
<Hash Type="SHA1">8FB7B1F4984AB6E0746B43D2B82D4ED8102984D5</Hash>
</Item>
</Content>
<History></History>
<Notes></Notes><Type Retraction="false">DMCA</Type>
<Detection>
<Asset>
<OriginalAssetName>asdfasdf (2011)</OriginalAssetName>
</Asset>
<ContentMatched Audio="false" Video="true" Text="false" />
<HashMatched>true</HashMatched>
<VerificationID>Manual and automated watermark verification</VerificationID>
</Detection>
<Verification>
<VerificationLevel Type="DT">2</VerificationLevel>
</Verification>
<TextNotice><![CDATA[12-03-2011XML portion always starts with <Infringement and ends with </Infringement>.
Actually, it doesn't... the XML starts with the <?xml> tag, but that's just me being pedantic
Given what you've said, though, it's easy to extract the XML data from a given block of text.
First, read the source data:
set theText to read file "path:to:the:file"
Then you can extract the XML via something like:
set start_tag to "<?xml"
set end_tag to "</Infringement>"
set start_of_data to offset of start_tag in theText
set end_of_data to (offset of end_tag in theText) + (-1 + (length of end_tag))
set theXML to text start_of_data through end_of_data of theText
Now you can write that data to a file:
set theFile to open for access file ((path to desktop as text) & "output.xml" as text) with write permission
set eof theFile to 0
write theXML to theFile starting at 0
close access theFile
If you have multiple files you can either run this in a loop that iterates over the files, or save the script as a droplet, then drop the files onto the script icon. Let me know if you need help with that, too. -
How to parse/extract XML from clob field using ODI
Hi,
I am very new to ODI. I have an oracle table which has clob field. This clob field contains xml. I would like to parse this xml and convert it to oracle table. Means I would like to make all the tags of xml as oracle table columns.
I have created a PL/SQL procedure and used XMLTABLE function and I have achieved my goal. The same this I am trying to do with ODI. Since I am new to ODI so any help is appreciated.
ThanksIn 9.2, you are limited into your options. Have a look into, among others, updateXML. Updating tp 10gR2 will give you more options to succeed.
-
How to animate images coming from web service in iphone sdk.
this is my code check once and give me reply.
- (void)parserDidEndDocument:(NSXMLParser *)parser{
moreListTableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 10, 320, 350) style:UITableViewStylePlain];
moreListTableView.delegate = self;
moreListTableView.dataSource = self;
[self.view addSubview:moreListTableView];
for(i=0; i < [advImagesList count]; i++){
NSString *data=[[NSString alloc]initWithFormat:[advImagesList objectAtIndex:i]];
Byte inputData[[data lengthOfBytesUsingEncoding:NSUTF8StringEncoding]];
[[data dataUsingEncoding:NSUTF8StringEncoding] getBytes:inputData];
size_t inputDataSize=(size_t)[data length];
size_t outputDataSize=EstimateBas64DecodedDataSize(inputDataSize);
Byte outputData[outputDataSize];
Base64DecodeData(inputData, inputDataSize, outputData, &outputDataSize);
NSData *theData=[[NSData alloc]initWithBytes:outputData length:outputDataSize];
imgview=[[UIImageView alloc]initWithImage:[UIImage imageNamed:data]];
imgview.frame=CGRectMake(0, 317, 320, 50);
imgview.image=[UIImage imageWithData:theData];
[self.view addSubview:imgview];
Timer = [NSTimer scheduledTimerWithTimeInterval:.1 target:self selector:@selector(moveRect) userInfo:nil repeats:YES];
-(void)moveRect
// imgview.animationImages=advImagesList;
[imgview startAnimating];
[imgview setAnimationDuration:2];This is a user forum. Try developer.apple.com.
-
Don't show data from web service to Cross-Tab in xcelsius
Hi all visitors
I have created one web service and my web service will show data like this.
Group ___Floor ____Amount
Member__Floor 1__1000000
Member__Floor 2__1000000
Member__Floor 1__1000000
Member__Floor 2__1000000
Member__Floor 2__2200000
Member__Floor 1__ 1000000
Member__Floor 1__ 1000000
In my xcelsius, i have option to make it to cross-tab.
when i use that data( data above by manual) to excel spreadsheet. The data will change to
Group______________Floor1________________Floor2______________GrandTotal
Member____________5000000_____________ 3200000_____________8200000
GrandTotal__________5000000_____________ 3200000_____________8200000
But when i load the data from web service,It doesn't show anything.
(when i use list view to show data from web server, i see all data)
How can i load data from web service and show the data like manually?
Best Regards,Hi Tony,
As per your example i have used the SUMIF fucntion
have a glance at that and let me know if you need help
Data coming from webservice >> Concat Group Floor Amount
=C7&D7 Member Floor1 1000000
=C8&D8 Member Floor2 1000000
=C9&D9 Member Floor1 1000000
=C10&D10 Member Floor2 1000000
=C11&D11 Member Floor2 2200000
=C12&D12 Member Floor1 1000000
=C13&D13 Member Floor1 1000000
Cross Tab >>Group Floor1 Floor2
Member =SUMIF($B$7:$B$13,$H$7&I6,$E$7:$E$13) =SUMIF($B$7:$B$13,$H$7&J6,$E$7:$E$13)
Grand Total =SUM(I7) =SUM(J7)
Original data after
Group Floor1 Floor2
Member 4,000,000 4,200,000
Grand Total 4,000,000 4,200,000
Hope this may solve your issue.
Ley me know if you have any other issues.
Regards,
AnjaniKumar C.A. -
How to create a proxy to retrieve the xml file from web services
Hi Every one,
We have a requirment where we receive a xml file from Kenexa, a third party HR tool using a middleware tool. from SAP side We have to create a proxy to retrieve the xml file from web services by initiating call through middleware tool i used earlier.
these are the steps i intend to follow to accomlish the requirement.
1) middleware tool has to initiate the call to kenexa web services to receive the xml file when it is available.
2) On SAP we need to create a ABAP Proxy service provider to middleware where this file can be received.
Can any one guide me how i can create a proxy to retrieve the xml file from web services by initiating call through other middlewre (its not PI).
Any help would be really great, i am not a ABAP developer, so please help me with this. Thanks.Thank for reply.
The computers are in different locations, but yes it's possible, the users in this enviroment are all local administrator of the machines, and we can distribute the script centrally from the DC automatically
Acrobat use Java, right? I'm not so expert in java, but something about it could not be so difficult to manage.
Do you know some place where i can get some info about JS and acrobat? -
How can I call a SAPME web service from MII such as PlaceFutureHold?
Dears,
How can I call a SAPME web service from MII such as PlaceFutureHold?
By using MII, I would like to develop some logic to check some values which query from SAPME database, if the value is out of spec, it needs to send a emal to inform user ans also hold the SFC.
Thanks!With Web service action block you can view all ME available services
in I.E
https://sapme:5000/manufacturing-services/ProductionServiceService?wsdl you could see your FutureHold service
To do that in MII, you need Web Service action block. Have you work with MII transaction before?
(saw your post in MII) -
How to extract data from web URL
I was doing one project which need to extract data from web pages and then analyze these data. the question is how to extract data from there, using html parser? need help, thanks a lot
I was doing one project which need to extract data
from web pages and then analyze these data. the
question is how to extract data from there, using
html parser? need help, thanks a lotTry this:
http://java.sun.com/docs/books/tutorial/networking/urls/readingURL.html
Or, like you said yourself, use an HTML parser:
http://java-source.net/open-source/html-parsers -
Help me! How to use it as a web service from third party application?
After using JDeveloper to develop BSSV object e.g. JP550010, how to use it as a web service from third party application?
TKS!Obviously the OP is working on a project for the Bead Society of Southeastern Virginia http://www.bssv.org. Oh, wait, maybe he's researching the Blueberry Shoestring Plant Virus http://abbreviations.yourdictionary.com/bssv
:D
John -
Extraction from web service without XI
Hello all!
I want to realize data extraction scheme without usage XI
DB2 Stored proc -> Web Service -> BW
Is realy?Hello can you refine your question with more specification?
Yes, it can possible data extraction from web service, but what you are exactly looking for?
Maybe you are looking for
-
Hello everyone, I have the following code that I run inside a button clicked event in order to compare the username and password given by the user. public static bool isAuthenticated(string Username, string Password) //Open a connection with the data
-
In SharePoint Document Library Cut and Paste option not working correctly.
Hi, I have a SharePoint Document Library which has the following. Folder1 which contains two files named as a File1 and File2 Folder1 ------------> File1 & File2 Folder2 has no files. Now i am cut the file "File2" from Folder1 and paste in to Folder2
-
Create PDFs that can be edited in Acrobat Reader?
All, Is it possible to create a PDF (designed in Indesign CC 2014/Mac, and exported as PDF in Acrobat Professional XI) that is then a) editable in Adobe Acrobat Reader XI (11.0.09) and b) is of the quality and has fonts embedded to act as a print qua
-
Sent FCP project to Soundtrack Pro but how do I get it back into FCP?
Hi everyone, I just sent to project from FCP to Soundtrack Pro and now I am wondering how do I send the Soundtrack project back to FCP with the audio adjustments? I know this is possible I'm just having a barin ** moment today. Thanks
-
TEMPORARY TABLESPACE에서 TEMPFILE 과 DATAFILE의 차이점 (8.1.X ~ 9I)
제품 : ORACLE SERVER 작성날짜 : 2003-11-27 PURPOSE 이 문서에서는 Oracle 7.3부터 사용되어 오던 create tablespace ... temporary 형태와, 8i부터 사용되는 create temporary tablespace... 의 차이점을 정리해 본다. tablespace의 temporay type과 permanent type에 대한 비교는 <Bulletin#: 11938> 를 참조하도록 하고 여기에