Read external xml - network problem
Hi,
I'm finalizing a project that needs to retrieve weather
information to display.
There's a main movie, that loads another movie (wich is
local). This last one gets xml information, from an external site.
Localy this works fine, but when I put in a website, the network
security warning appears.
I tried to publish with network access, and local. I also
changed that in the main movie. Triel allowdomain and it seems that
it can't work.
Any suggestions?
Thanks
Hi,
its a cross-domain policy problem. If its impossible to put a
crossdomain.xml file on the external site server, you will have to
do a workaround like having a php file on your server that get and
pass the information for you (data can be crunched somewhere on
your server or being directly transfered between your app <- php
adapter <- service provider).
Similar Messages
-
I'm using adobe designer 7 . I want to read external XML file with javascript
there is a method XMLData.parse(String param1, Boolean param2) but it takes as parameter only string.
How can I get external XML file convert it to string and pass it to XMLData.parse(param1, param2)?You are right there are more than one line in it. But the line which I posted above is the line which parse the string cXMLDoc
Consider the XML document as first introduced in the example following the XMLData.applyXPath
method.
var x = XMLData.parse( cXMLDoc, false );
var y = x.family.name; // An XFAObject
console.println(y.value); // Output to console is "Robat"
Get information about dad.
y = x.family.dad.id; // An XFAObject
console.println(y.value); // Output to console is "m2"
y = x.family.dad.name.value; // y = "Bob"
x.family.dad.name.value = "Robert"; // Change name to "Robert"
y = x.family.dad.name.value; // y = "Robert"
y = x.family.dad.personal.income.value; // y = "75000"
x.family.dad.personal.income.value = "80000"; // Give dad a raise -
Read external XML stream into a field
Hello all -
I have been trying to get this working for a week now and still no luck. It seems like it's possible to find field values to external XML file, but Acrobat tries to parse the XML and be smart about it.
I have a custom form logic that needs to read an XML file from a URL and assign the stream to a form field that can later be accessed via FormField.rawValue.
The XML is rather basic - something like
1
2
3
4
I tried the xfa.connectionSet to no avail. I am now trying to bring in that value with SOAP, but have been reading that it might give prompts in Reader.
Can I simply read an external URL and assign the server response to a variable or a field ?
My apologies for the super-basic question!!
Thanks in advance!
FrankI get the following error, probably means the file referenced is not available...
SQL Error: ORA-22806: not an object or REF
22806. 00000 - "not an object or REF"
*Cause: An attempt was made to extract an attribute from an item that is
neither an object nor a REF.
*Action: Use an object type or REF type item and retry the operation. -
Reading external xml files from a jar
Hi,
I am trying to read an xml file from a jar (which is not present inside the jar ) .
I am passing the file name as a string (like C:/folder/filename) to the SAXBuilder but it throwing
unknown protocol: c error.
i tried using an url , tried using a relative path but to no use.
Need help in this regard urgently.
TIA,
Regards,
HarshaHi,
Actually, my application needs to read two xml files , parse it, perform some operation and write
the result to an output file.
The names of the two xml files i mentioned, are specified in a properties file as absolute paths. (I even tried converting them to URIs)
The xml files are in the same directory as the jar ( i dont know if it should matter as i am giving the absolute path).
The main class reads the names of the files and passes the names as strings to the SAXBuilder.
This is where i am getting an exception.
Going by what you said, is it not possible for a java class to read a fie outside of the jar ? Is there no way to do this ? And right now i am not sure of how to go about this or if there's any work around . Any help would be appreciated.
Kindly reply at the earliest
TIA,
Harsha -
XI read external xml file (not in xi namespace format).
Hi All,
I got requirement to read xml file (generated by non-sap system) in this below format :
<ns0:Envelope xmlns:ns0="http://xxxx_Payroll_Notification.Schemas.UPPYM_destination">
<Header>
<BusinessFunctionID>UPPYM</BusinessFunctionID>
<MsgID>25e31c20-b44b-11dc-8a73-000ffe2704e0</MsgID>
</Header>
<Body>
<BusinessData>
<UPPYM>
<Rec>
<Data>1000000109.2007B10111080101010101 </Data>
</Rec>
<Rec>
<Data>1000000209.2007B10111080101010101 </Data>
</Rec>
</UPPYM>
<UPPYMD1>
<Rec>
<Data>10000001POT1 500050NO0001500 </Data>
</Rec>
<Rec>
<Data>10000001POT2 700050NO0001502 </Data>
</Rec>
</UPPYMD1>
</BusinessData>
</Body>
</ns0:Envelope>
Since the namespace is not follow xi format, how can i read and parse all the information using
file adapter ?
Thank you and Best Regards
FernandYou can parse all the information in the XML file/Flat file by using JAVA mapping by using DOM / SAX Parser.
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
/people/carlosivan.prietorubio/blog/2007/12/21/implementing-a-java-mapping-in-sap-pi
/people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom -
hi,
I want to load (some of the) content of an xml file into an
array. (actionscript in FLEX)
I found an example at the flex documentation (
over
here
but when i try this examle:
quote:
<mx:Script>
<![CDATA[
var myXML:XML = new XML();
var XML_URL:String = "http://www.example.com/Sample3.xml";
var myXMLURL:URLRequest = new URLRequest(XML_URL);
var myLoader:URLLoader = new URLLoader(myXMLURL);
myLoader.addEventListener("complete", xmlLoaded);
function xmlLoaded(evtObj:Event) {
myXML = XML(myLoader.data);
trace("Data loaded.");
]]>
</mx:Script>
i get two errors:
- 1120: Acces of undifined property myLoader.
- 1120: Acces of undifined property mxLoaded
Can anyone tell me how i can solve this problem?You can't do all that stuff outside a function. The variables
do not exist until they all have been created during the object
instantiation.
Declare the variables in the global scope, then do the value
assignments in a function, say initApp(), that you call in the
creationComplete event on the Application tag.
Tracy -
Testing SWF with external XML file, strange problem.
Hi!
My problem started after migration to 2.01. But I think it's
not version problem.
I have old project which uses external XML files ("
http://www.mydomain.com/myxml.xml").
When I teste project in "bin" folder it works perfect and SWF
import data from XML.
I created new Flex project and copied all scripts from old
one. And my new app can't read external XML!!! (tested in "bin"
folder):
*** Security Sandbox Violation ***
Connection to xmlURL halted - not permitted from
file:///C:/myproject/bin/myproject-debug.swf
BUT when I copy my new SWF to the old project "bin" folder
then it WORKS! Strange!
I found in Help "The Global Flash Player Trust directory" and
I checked files: "flexbuilder.cfg", "flexbuilder.fbr" there are all
my project paths (old and new).
Thanks for help!
newmanYou should your homework with Google and other search engines
better ;)
http://www.robrusher.com/1/2006/08/Flex-2-Error-with-XML.cfm -
Hi, I"m having a problem with an Applet.
I wrote a program that acceses an external XML file located on my webspace, but when I converted this program to run in a webbrowser I get console errors when trying to acces the file.
Here's my code:
package javaapplication;
import java.applet.Applet;
import java.awt.BorderLayout;
import java.awt.Canvas;
import java.util.ArrayList;
import javaapplication7.parsing.XmlParser;
public class Main extends Applet {
protected Thread gameThread = null;
private Canvas display_parent = null;
private boolean running = false;
private XmlParser parser = new XmlParser();
public void destroy() {
remove(display_parent);
super.destroy();
System.out.println("Clear Up");
public void start() {
gameThread = new Thread() {
public void run() {
running = true;
System.out.println("Entering Gameloop");
gameLoop();
gameThread.setDaemon(true);
gameThread.start();
public void stop() {
public void init() {
setLayout(new BorderLayout());
try {
display_parent = new Canvas() {
public final void removeNotify() {
super.removeNotify();
display_parent.setIgnoreRepaint(true);
display_parent.setSize(getWidth(),getHeight());
add(display_parent);
display_parent.setFocusable(true);
display_parent.requestFocus();
setVisible(true);
catch(Exception e) {
System.err.println(e);
throw new RuntimeException("Unable to create display");
private void gameLoop() {
ArrayList <String> temp = null;
while (running) {
temp = parser.SearchXml("http://users.telenet.be/decoy/FacebookApp/xml/BulletType.xml", "BulletList",2);
for (int i=0;i<temp.size();++i) {
System.out.println(temp.get(i));
}my html file :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>AppletLoader</title>
</head>
<body>
<applet code="javaaplication.Main" archive="JavaApplication7.jar" codebase="." width="800px" height="600px">
<!-- The following tags are mandatory -->
<!-- Name of Applet, will be used as name of directory it is saved in, and will uniquely identify it in cache -->
<param name="al_title" value="appletloadertest">
<!-- Main Applet Class -->
<param name="al_main" value="javaapplication.Main">
<!-- logo to paint while loading, will be centered -->
<param name="al_logo" value="appletlogo.png">
<!-- progressbar to paint while loading. Will be painted on top of logo, width clipped to percentage done -->
<param name="al_progressbar" value="appletprogress.gif">
<!-- List of Jars to add to classpath -->
<param name="al_jars" value="JavaApplication7.jar">
<!-- signed windows natives jar in a jar -->
<param name="al_windows" value="lib/windows_natives.jar.lzma">
<!-- signed linux natives jar in a jar -->
<param name="al_linux" value="lib/linux_natives.jar.lzma">
<!-- signed mac osx natives jar in a jar -->
<param name="al_mac" value="lib/macosx_natives.jar.lzma">
<!-- signed solaris natives jar in a jar -->
<param name="al_solaris" value="lib/solaris_natives.jar.lzma">
<!-- Tags under here are optional -->
<!-- Version of Applet, important otherwise applet won't be cached, version change will update applet, must be int or float -->
<!-- <param name="al_version" value="0.1"> -->
<!-- background color to paint with, defaults to white -->
<!-- <param name="al_bgcolor" value="000000"> -->
<!-- foreground color to paint with, defaults to black -->
<!-- <param name="al_fgcolor" value="ffffff"> -->
<!-- error color to paint with, defaults to red -->
<!-- <param name="al_errorcolor" value="ff0000"> -->
<!-- whether to run in debug mode -->
<!-- <param name="al_debug" value="true"> -->
<!-- whether to prepend host to cache path - defaults to true -->
<param name="al_prepend_host" value="false">
<!-- main applet specific params -->
<param name="test" value="test">
</applet>
<p>
if <code>al_debug</code> is true the applet will load and extract resources with a delay, to be able to see the loader process.
</p>
</body>
</html>console errors :
network: Connecting http://users.telenet.be/decoy/FacebookApp/xml/BulletType.xml with proxy=DIRECT
network: Connecting http://users.telenet.be/crossdomain.xml with proxy=DIRECT
network: Connecting http://users.telenet.be:80/ with proxy=DIRECT
network: Connecting http://users.telenet.be/crossdomain.xml with cookie "__utmz=226366239.1223468593.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); st8id_wlf_%2Etelenet%2Ebe_%2F=TE5HVExNX0ZMQVNI?81c37b0684bbf41f4c42c63db814f879; __utma=226366239.605535372.1223468593.1223556298.1224764225.3"
network: Connecting http://www.zita.be/users_error/ with proxy=DIRECT
network: Connecting http://www.zita.be:80/ with proxy=DIRECT
java.security.PrivilegedActionException: java.io.FileNotFoundException: http://www.zita.be/users_error/
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.net.CrossDomainXML.check(Unknown Source)
at com.sun.deploy.net.CrossDomainXML.check(Unknown Source)
at sun.plugin2.applet.Applet2SecurityManager.checkConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at facebookgame.parsing.XmlParser.SearchXml(XmlParser.java:38)
at facebookgame.entity.ShotEntity.<init>(ShotEntity.java:62)
at facebookgame.InGameState.Enter(InGameState.java:75)
at facebookgame.FacebookApp.changeToState(FacebookApp.java:258)
at facebookgame.MenuState.CheckPlayerInput(MenuState.java:106)
at facebookgame.MenuState.StateCycle(MenuState.java:139)
at facebookgame.FacebookApp.gameLoop(FacebookApp.java:212)
at facebookgame.FacebookApp.access$200(FacebookApp.java:17)
at facebookgame.FacebookApp$1.run(FacebookApp.java:60)
Caused by: java.io.FileNotFoundException: http://www.zita.be/users_error/
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.CrossDomainXML$2.run(Unknown Source)
... 22 moreHopefully some1 can help me :).
Edited by: Veko on Dec 7, 2008 2:51 PMBut why is it possible then to succesfully acces the .xml file with a non-web applet
This code reads the file perfectly of my webspace...
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;
public class XMLHandler {
public static void SearchXml(){
try{
InputStream filesource = new URL("http://users.telenet.be/decoy/FacebookApp/xml/BulletType.xml").openStream();
System.out.println("found input source");
byte[] readIn = new byte[8];
int bytesRead = filesource.read(readIn);
OutputStream stream = System.out;
while(bytesRead != -1){
stream.write(readIn);
bytesRead = filesource.read(readIn);
} catch (Exception e){
e.printStackTrace();
public static void main(String[] args){
SearchXml();
}it returns the contents of the xml perfectly
<?xml version="1.0"?>
<bulletList>
<bullet type="1">
<speed>1.0f</speed>
<size>O.65f</size>
<damage>1</damage>
<texture>"res/shot.png"</texture>
<sound>"blah.ogg"</sound>
</bullet>
<bullet type="2">
<speed>1.5f</speed>
<size>O.65f</size>
<damage>1</damage>
<texture>"res/shot.png"</texture>
<sound>"blah.ogg"</sound>
</bullet>
</bulletList>Does a applet in a browser have somekind of weird restriction that I haven't heard of yet ?
Edited by: Veko on Dec 8, 2008 2:28 AM
Edited by: Veko on Dec 8, 2008 2:29 AM
Edited by: Veko on Dec 8, 2008 2:29 AM -
S.O.S. - I have a problem reading an XML to save it in a database
I have a problem reading an XML I trying to save the data in a database. In a log cuardo the message as text and is correct, but I do not type in the database
Glassfish give me this error in the log:
HTTPBC-E01052: The value set on the org.glassfish.openesb.address.url normalized message property is invalid. This property is expected to be of String type only.
Accepted the message in DBBC Binding. 99574032187979-45019-134439471876390116
Accepted message with exchange ID 99574032187979-45019-134439471876390116 in DBBC outbound message processor.
Accepted message with exchange ID 99574032187979-45019-134439471876390116 in DBBC outbound message processor.
Pattern for exchange Id 99574032187979-45019-134439471876390116 is http://www.w3.org/2004/08/wsdl/in-out.
Gettin bean for {http://j2ee.netbeans.org/wsdl/bd}serviceport
Adding reply listener for messsage exchange:99574032187979-45019-134439471876390116
Received in-out message 99574032187979-45019-134439471876390116.
Using Jndi Name:: jdbc/logger
Executing SQL....insert into dbo.appender (timestamp,mensaje) values (?,?)
BPCOR-6151:The process instance has been terminated because a fault was not handled; Fault Name is {http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure; Fault Data is null
com.sun.jbi.engine.bpel.core.bpel.exception.StandardException: BPCOR-6174:Selection Failure occurred in BPEL({http://enterprise.netbeans.org/bpel/MapeoPedidosEntrada/MapeoPE}MapeoPE) at line 39
BPCOR-6129:Line Number is 37
BPCOR-6130:Activity Name is Assign1
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.createVirtualFaultUnit(BPELInterpreter.java:234)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:202)
at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:98)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:1046)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:278)
at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:1293)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processStatus(BPELSEInOutThread.java:590)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:292)
at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:193)
normalized message
Finished processing outbound messages.
Accepted the message in DBBC Binding. 99574032187979-45019-134439471876390116
Accepted message with exchange ID 99574032187979-45019-134439471876390116 in DBBC outbound message processor.
Accepted message with exchange ID 99574032187979-45019-134439471876390116 in DBBC outbound message processor.
Pattern for exchange Id 99574032187979-45019-134439471876390116 is http://www.w3.org/2004/08/wsdl/in-out.
Gettin bean for {http://j2ee.netbeans.org/wsdl/bd}serviceport
Adding reply listener for messsage exchange:99574032187979-45019-134439471876390116
Received in-out message 99574032187979-45019-134439471876390116.
Finished processing outbound messages.
I take data from a XML and I put in two tables in a database. I do not understand what it is the problem.
The main BPEL is this:
<?xml version="1.0" encoding="UTF-8"?>
<process
name="MapeoPE"
targetNamespace="http://enterprise.netbeans.org/bpel/MapeoPedidosEntrada/MapeoPE"
xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace"
xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
xmlns:tns="http://enterprise.netbeans.org/bpel/MapeoPedidosEntrada/MapeoPE" xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions" xmlns:ns0="http://j2ee.netbeans.org/xsd/tableSchema" xmlns:ns1="http://java.sun.com/xml/ns/jaxb" xmlns:ns2="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab">
<import namespace="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" location="PollInPE.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" location="recumat_htor2-siglo_ped_ext_cab.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" location="recumat_htor2-siglo_ped_ext_lin.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" location="localhost_9080/bitacoraService/bitacoraPort.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<partnerLinks>
<partnerLink name="siglo_ped_ext_cab" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" partnerLinkType="tns:jdbcpartner" partnerRole="jdbcPortTypeRole"/>
<partnerLink name="siglo_ped_ext_lin" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" partnerLinkType="tns:jdbcpartner" partnerRole="jdbcPortTypeRole"/>
<partnerLink name="log" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" partnerLinkType="tns:bitacora" partnerRole="bitacoraPortTypeRole"/>
<partnerLink name="Entrada" xmlns:tns="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" partnerLinkType="tns:PollInPE" myRole="FileInboundPortTypeRole"/>
</partnerLinks>
<variables>
<variable name="BitacoraOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" messageType="tns:bitacoraOperationRequest"/>
<variable name="InsertOutSIGLO_PED_EXT_LIN" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" messageType="tns:insertRetMsg"/>
<variable name="InsertInSIGLO_PED_EXT_LIN" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" messageType="tns:inputMsg"/>
<variable name="InsertOutSIGLO_PED_EXT_CAB" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" messageType="tns:insertRetMsg"/>
<variable name="InsertInSIGLO_PED_EXT_CAB" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" messageType="tns:inputMsg"/>
<variable name="PollIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" messageType="tns:PollInputMessage"/>
</variables>
<sequence>
<receive name="Receive1" createInstance="yes" partnerLink="Entrada" operation="poll" xmlns:tns="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" portType="tns:FileInboundPortType" variable="PollIn"/>
<assign name="Assign2log">
<copy>
<from>string($PollIn.part1)</from>
<to variable="BitacoraOperationIn" part="part1"/>
</copy>
</assign>
<invoke name="log" partnerLink="log" operation="bitacoraOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" portType="tns:bitacoraPortType" inputVariable="BitacoraOperationIn"/>
<assign name="Assign1">
<copy>
<from>$PollIn.part1/ns1:ORDERS/@numero</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_numero_pedido</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/@FechaPedido</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_fecha_pedido</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/@FechaEntrega</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_fecha_entrega</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/@Observaciones</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_observaciones</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/@ejercicio</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_ejercicio</to>
</copy>
<copy>
<from>number($PollIn.part1/ns1:ORDERS/@Funcion)</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_funcion</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/@tipoPedido</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_tipo_pedido</to>
</copy>
<copy>
<from>string($PollIn.part1/ns1:ORDERS/@condFacturar)</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_condfacturar</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/@id</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_usuario_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@tipo</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_tipo</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@id</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@descripcion</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_desc</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@valor</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_valor</to>
</copy>
<copy>
<from>number($PollIn.part1/ns1:ORDERS/ns1:Procedimiento/@codigo)</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_proced_cod</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Procedimiento/@descripcion</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_proced_desc</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/@id</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_ped_ext_cab_pk</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Procedimiento/@id</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_proced_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Contrato/@id</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contrato_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Contrato/@Expediente</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contr_expedte</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Contrato/@CCA</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contr_cca</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@codigo</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_cod</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@id</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_empresa_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@CIF</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_cif</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@nombreComercial</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_nom_comerc</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@EANDestino</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_ean_dest</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@nombreFiscal</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_nom_fiscal</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@EANvendedor</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_ean_vend</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@descripcion</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orgestor_desc</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@id</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orgestor_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@EANEmisor</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orges_eanemis</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@EANQpide</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orges_eanqpide</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@EANAqsf</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orges_eanaqsf</to>
</copy>
<copy>
<from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroSerie)</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_num_serie</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroLinea</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_numero_linea</to>
</copy>
<copy>
<from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroLote)</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_num_lote</to>
</copy>
<copy>
<from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroAlbaran)</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_num_albaran</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@fechaAlbaran</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_fecha_albaran</to>
</copy>
<copy>
<from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@valorarAlbaranes)</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_valorar_albar</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@CantidadCompra</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_compra</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@Observaciones</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_observaciones</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@cantidadPendiente</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_pendiente</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@cantidadAnulada</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_anulada</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@precio</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_precio</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@CIP</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_produ_cip</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@marca</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:spl_produ_marca</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@refFabricante</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_produ_refabric</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@modelo</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_produ_modelo</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_producto_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@codigo</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_codigo</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@codigoLocal</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_codigo_loc</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@codigoSAS</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_codigo_sas</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@unidadMedida</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_und_medida</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@unidadContratacion</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_und_contra</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_artgenerico_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_presentac_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/@codigoEAN</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_pre_cod_ean</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/@refDistribuidor</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_ref_distribuid</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_oferta_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@factorContratacion</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_factor_contrat</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@cantidadEnUnidades</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_en_unds</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@cantidadContratacion</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_contrata</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:ProgramacionEntregas/ns1:Entregar/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_linprogent_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:ProgramacionEntregas/ns1:Entregar/@cantidad</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_entrega</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:ProgramacionEntregas/ns1:Entregar/@fecha</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_fecha_entrega</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:PuntoEntrega/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_pto_entrega_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:PuntoEntrega/@EANReceptor</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_ean_receptor</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:PuntoEntrega/@descripcion</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_pto_entre_desc</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_origen_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:SolicitudLinea/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_lin_solic_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:TipoOrigen/@descripcion</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_tp_origen_desc</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:TipoOrigen/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_tp_origen_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:SolicitudLinea/ns1:Solicitud/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_solicitud_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:SolicitudLinea/ns1:Solicitud/@codigo</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_solicitud_cod</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_ped_ext_lin_pk</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pec_ped_ext_cab_pk</to>
</copy>
</assign>
<invoke name="Invoke_SIGLO_PED_EXT_CAB" partnerLink="siglo_ped_ext_cab" operation="insert" portType="ns2:jdbcPortType" inputVariable="InsertInSIGLO_PED_EXT_CAB" outputVariable="InsertOutSIGLO_PED_EXT_CAB"/>
<invoke name="Invoke_SIGLO_PED_EXT_LIN" partnerLink="siglo_ped_ext_lin" operation="insert" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" portType="tns:jdbcPortType" inputVariable="InsertInSIGLO_PED_EXT_LIN" outputVariable="InsertOutSIGLO_PED_EXT_LIN"/>
</sequence>
</process> Thanks in advance!!!
&nI change the bpel to this:
<?xml version="1.0" encoding="UTF-8"?>
<process
name="MapeoPE"
targetNamespace="http://enterprise.netbeans.org/bpel/MapeoPedidosEntrada/MapeoPE"
xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace"
xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
xmlns:tns="http://enterprise.netbeans.org/bpel/MapeoPedidosEntrada/MapeoPE" xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions" xmlns:ns0="http://j2ee.netbeans.org/xsd/tableSchema" xmlns:ns1="http://java.sun.com/xml/ns/jaxb" xmlns:ns2="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab">
<import namespace="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" location="PollInPE.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" location="recumat_htor2-siglo_ped_ext_cab.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" location="recumat_htor2-siglo_ped_ext_lin.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" location="localhost_9080/bitacoraService/bitacoraPort.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<partnerLinks>
<partnerLink name="siglo_ped_ext_cab" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" partnerLinkType="tns:jdbcpartner" partnerRole="jdbcPortTypeRole"/>
<partnerLink name="siglo_ped_ext_lin" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" partnerLinkType="tns:jdbcpartner" partnerRole="jdbcPortTypeRole"/>
<partnerLink name="log" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" partnerLinkType="tns:bitacora" partnerRole="bitacoraPortTypeRole"/>
<partnerLink name="Entrada" xmlns:tns="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" partnerLinkType="tns:PollInPE" myRole="FileInboundPortTypeRole"/>
</partnerLinks>
<variables>
<variable name="BitacoraOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" messageType="tns:bitacoraOperationRequest"/>
<variable name="InsertOutSIGLO_PED_EXT_LIN" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" messageType="tns:insertRetMsg"/>
<variable name="InsertInSIGLO_PED_EXT_LIN" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" messageType="tns:inputMsg"/>
<variable name="InsertOutSIGLO_PED_EXT_CAB" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" messageType="tns:insertRetMsg"/>
<variable name="InsertInSIGLO_PED_EXT_CAB" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_cab" messageType="tns:inputMsg"/>
<variable name="PollIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" messageType="tns:PollInputMessage"/>
</variables>
<faultHandlers>
<catchAll>
<sequence name="Sequence1" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora">
<assign name="Assign2log">
<copy>
<from>string($PollIn.part1)</from>
<to variable="BitacoraOperationIn" part="part1"/>
</copy>
</assign>
<invoke name="log" partnerLink="log" operation="bitacoraOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" portType="tns:bitacoraPortType" inputVariable="BitacoraOperationIn"/>
</sequence>
</catchAll>
</faultHandlers>
<sequence>
<receive name="Receive1" createInstance="yes" partnerLink="Entrada" operation="poll" xmlns:tns="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" portType="tns:FileInboundPortType" variable="PollIn"/>
<sequence name="Sequence1bis" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora">
<assign name="bisAssign2log">
<copy>
<from>string($PollIn.part1)</from>
<to variable="BitacoraOperationIn" part="part1"/>
</copy>
</assign>
<invoke name="bislog" partnerLink="log" operation="bitacoraOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" portType="tns:bitacoraPortType" inputVariable="BitacoraOperationIn"/>
</sequence>
<empty name="HastaAquiVa"/>
<assign name="Assign1">
<copy>
<from>$PollIn.part1/ns1:ORDERS/@numero</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_numero_pedido</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/@FechaPedido</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_fecha_pedido</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/@FechaEntrega</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_fecha_entrega</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/@Observaciones</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_observaciones</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/@ejercicio</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_ejercicio</to>
</copy>
<copy>
<from>number($PollIn.part1/ns1:ORDERS/@Funcion)</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_funcion</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/@tipoPedido</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_tipo_pedido</to>
</copy>
<copy>
<from>string($PollIn.part1/ns1:ORDERS/@condFacturar)</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_condfacturar</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/@id</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_usuario_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@tipo</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_tipo</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@id</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@descripcion</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_desc</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Usuario/ns1:Contacto/@valor</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contacto_valor</to>
</copy>
<copy>
<from>number($PollIn.part1/ns1:ORDERS/ns1:Procedimiento/@codigo)</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_proced_cod</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Procedimiento/@descripcion</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_proced_desc</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/@id</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_ped_ext_cab_pk</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Procedimiento/@id</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_proced_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Contrato/@id</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contrato_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Contrato/@Expediente</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contr_expedte</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Contrato/@CCA</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_contr_cca</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@codigo</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_cod</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@id</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_empresa_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@CIF</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_cif</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@nombreComercial</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_nom_comerc</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@EANDestino</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_ean_dest</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@nombreFiscal</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_nom_fiscal</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Empresa/@EANvendedor</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_emp_ean_vend</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@descripcion</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orgestor_desc</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@id</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orgestor_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@EANEmisor</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orges_eanemis</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@EANQpide</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orges_eanqpide</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:OrganoGestor/@EANAqsf</from>
<to>$InsertInSIGLO_PED_EXT_CAB.part/ns0:siglo_ped_ext_cab_Record/ns0:pec_orges_eanaqsf</to>
</copy>
<copy>
<from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroSerie)</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_num_serie</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroLinea</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_numero_linea</to>
</copy>
<copy>
<from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroLote)</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_num_lote</to>
</copy>
<copy>
<from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@numeroAlbaran)</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_num_albaran</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@fechaAlbaran</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_fecha_albaran</to>
</copy>
<copy>
<from>number($PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@valorarAlbaranes)</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_valorar_albar</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@CantidadCompra</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_compra</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@Observaciones</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_observaciones</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@cantidadPendiente</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_pendiente</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@cantidadAnulada</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_anulada</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@precio</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_precio</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@CIP</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_produ_cip</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@marca</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:spl_produ_marca</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@refFabricante</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_produ_refabric</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@modelo</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_produ_modelo</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Producto/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_producto_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@codigo</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_codigo</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@codigoLocal</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_codigo_loc</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@codigoSAS</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_codigo_sas</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@unidadMedida</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_und_medida</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@unidadContratacion</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_art_und_contra</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Articulo/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_artgenerico_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_presentac_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/@codigoEAN</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_pre_cod_ean</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/@refDistribuidor</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_ref_distribuid</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_oferta_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@factorContratacion</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_factor_contrat</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@cantidadEnUnidades</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_en_unds</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:InfLogistica/ns1:Oferta/@cantidadContratacion</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_contrata</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:ProgramacionEntregas/ns1:Entregar/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_linprogent_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:ProgramacionEntregas/ns1:Entregar/@cantidad</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_cant_entrega</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:ProgramacionEntregas/ns1:Entregar/@fecha</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_fecha_entrega</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:PuntoEntrega/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_pto_entrega_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:PuntoEntrega/@EANReceptor</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_ean_receptor</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:PuntoEntrega/@descripcion</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_pto_entre_desc</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_origen_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:SolicitudLinea/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_lin_solic_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:TipoOrigen/@descripcion</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_tp_origen_desc</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:TipoOrigen/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_tp_origen_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:SolicitudLinea/ns1:Solicitud/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_solicitud_id</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/ns1:Origen/ns1:SolicitudLinea/ns1:Solicitud/@codigo</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_solicitud_cod</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/ns1:Lineas/ns1:PedidoLinea/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pel_ped_ext_lin_pk</to>
</copy>
<copy>
<from>$PollIn.part1/ns1:ORDERS/@id</from>
<to>$InsertInSIGLO_PED_EXT_LIN.part/ns0:siglo_ped_ext_lin_Record/ns0:pec_ped_ext_cab_pk</to>
</copy>
</assign>
<invoke name="Invoke_SIGLO_PED_EXT_CAB" partnerLink="siglo_ped_ext_cab" operation="insert" portType="ns2:jdbcPortType" inputVariable="InsertInSIGLO_PED_EXT_CAB" outputVariable="InsertOutSIGLO_PED_EXT_CAB"/>
<invoke name="Invoke_SIGLO_PED_EXT_LIN" partnerLink="siglo_ped_ext_lin" operation="insert" xmlns:tns="http://j2ee.netbeans.org/wsdl/recumat_htor2-siglo_ped_ext_lin" portType="tns:jdbcPortType" inputVariable="InsertInSIGLO_PED_EXT_LIN" outputVariable="InsertOutSIGLO_PED_EXT_LIN"/>
</sequence>
</process>
And change the XML input to that:
<?xml version="1.0" encoding="iso-8859-1"?>
<root>
<ORDERS id="125" numero="34" FechaPedido="05/10/2006" FechaEntrega="05/11/2006" Observaciones="Pedido en monitorización." ejercicio="2006" Funcion="0" tipoPedido="220" condFacturar="81E">
<Usuario id="45">
<Contacto id="13" tipo="TE" descripcion="Teléfono de Juanjo Carmona" valor="620987845"/>
</Usuario>
<Procedimiento id="1" codigo="0" descripcion="Concurso Público"/>
<Contrato id="1457467" Expediente="07CSU001" CCA="123+WER345"/>
<Empresa id="13" codigo="237619" nombreComercial="nombreComercial1" nombreFiscal="nombreFiscal1" CIF="cif1" EANvendedor="CODIGOEAN111" EANDestino="CODIGOEAN112"/>
<OrganoGestor id="1" descripcion="Hospital Virgen de Tal" EANQpide="CODIGOEAN113" EANAqsf="CODIGOEAN114" EANEmisor="CODIGOEAN115"/>
<Lineas>
<PedidoLinea id="234" numeroLinea="1" numeroSerie="1" numeroLote="1" numeroAlbaran="1" fechaAlbaran="05/11/2006" valorarAlbaranes="true" CantidadCompra="3" Observaciones="observaciones lÃÂnea1" cantidadPendiente="3" cantidadAnulada="0" precio="11.243">
<Producto id="1228" CIP="" refFabricante="CS-16402" modelo="modelo1" marca="marca1"/>
<Articulo id="89" codigo="001097" codigoSAS="01.02.07.120045" codigoLocal="014554" unidadContratacion="CMK" unidadMedida="CMK"/>
<InfLogistica id="45" codigoEAN="codigoEAN1" refDistribuidor="refDistribuidor1">
<Oferta id="67" factorContratacion="2.5" cantidadContratacion="7.5" cantidadEnUnidades="7"/>
</InfLogistica>
<ProgramacionEntregas>
<Entregar id="61" cantidad="3" fecha="05/11/2006"/>
</ProgramacionEntregas>
<PuntoEntrega id="546" EANReceptor="CODIGOEAN120" descripcion="Almacen principal"/>
<Origen id="464">
<TipoOrigen id="1" descripcion="tipo1"/>
<SolicitudLinea id = "453">
<Solicitud id="67" codigo="3456"/>
</SolicitudLinea>
</Origen>
</PedidoLinea>
</Lineas>
</ORDERS>
</root>
An the result is:
I18N: BPJBI-3002: Pattern for exchange Id 123033969803782-31456-134439750656880061 is http://www.w3.org/2004/08/wsdl/in-only
I18N: BPJBI-3004: Received in-only message for M Ex 123033969803782-31456-134439750656880061 content is <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:msgns="http://j2ee.netbeans.org/wsdl/MapeoPedidosEntrada/PollInPE" type="msgns:PollInputMessage" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part><root>
<ORDERS FechaEntrega="05/11/2006" FechaPedido="05/10/2006" Funcion="0" Observaciones="Pedido en monitorizaci�³n." condFacturar="81E" ejercicio="2006" id="125" numero="34" tipoPedido="220">
<Usuario id="45">
<Contacto descripcion="Tel�©fono de Juanjo Carmona" id="13" tipo="TE" valor="620987845"/>
</Usuario>
<Procedimiento codigo="0" descripcion="Concurso P�ºblico" id="1"/>
<Contrato CCA="123+WER345" Expediente="07CSU001" id="1457467"/>
<Empresa CIF="cif1" EANDestino="CODIGOEAN112" EANvendedor="CODIGOEAN111" codigo="237619" id="13" nombreComercial="nombreComercial1" nombreFiscal="nombreFiscal1"/>
<OrganoGestor EANAqsf="CODIGOEAN114" EANEmisor="CODIGOEAN115" EANQpide="CODIGOEAN113" descripcion="Hospital Virgen de Tal" id="1"/>
<Lineas>
<PedidoLinea CantidadCompra="3" Observaciones="observaciones lÃ?Ânea1" cantidadAnulada="0" cantidadPendiente="3" fechaAlbaran="05/11/2006" id="234" numeroAlbaran="1" numeroLinea="1" numeroLote="1" numeroSerie="1" precio="11.243" valorarAlbaranes="true">
<Producto CIP="" id="1228" marca="marca1" modelo="modelo1" refFabricante="CS-16402"/>
<Articulo codigo="001097" codigoLocal="014554" codigoSAS="01.02.07.120045" id="89" unidadContratacion="CMK" unidadMedida="CMK"/>
<InfLogistica codigoEAN="codigoEAN1" id="45" refDistribuidor="refDistribuidor1">
<Oferta cantidadContratacion="7.5" cantidadEnUnidades="7" factorContratacion="2.5" id="67"/>
</InfLogistica>
<ProgramacionEntregas>
<Entregar cantidad="3" fecha="05/11/2006" id="61"/>
</ProgramacionEntregas>
<PuntoEntrega EANReceptor="CODIGOEAN120" descripcion="Almacen principal" id="546"/>
<Origen id="464">
<TipoOrigen descripcion="tipo1" id="1"/>
<SolicitudLinea id="453">
<Solicitud codigo="3456" id="67"/>
</SolicitudLinea>
</Origen>
</PedidoLinea>
</Lineas>
</ORDERS>
</root></jbi:part></jbi:message>
I18N: BPJBI-3015: Sending status for 123033969803782-31456-134439750656880061. Status: Done.
I18N: BPJBI-3019: Sending a one way outbound message to the NMR. MessageExchangeId is 123033969803782-31456-134439750657350062, service name is {http://enterprise.netbeans.org/bpel/MapeoPedidosEntrada/MapeoPE}log, endpoint name is bitacoraPortTypeRole_partnerRole.
I18N: BPJBI-3018: The contents of the message are : <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:msgns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" type="msgns:bitacoraOperationRequest" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part>
</jbi:part></jbi:message>
HTTPBC-E01052: The value set on the org.glassfish.openesb.address.url normalized message property is invalid. This property is expected to be of String type only.
I18N: BPJBI-3002: Pattern for exchange Id 123033969803782-31456-134439750657350063 is http://www.w3.org/2004/08/wsdl/in-only
I18N: BPJBI-3004: Received in-only message for M Ex 123033969803782-31456-134439750657350063 content is <?xml version="1.0" encoding="UTF-8"?><jbi:message xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:msgns="http://j2ee.netbeans.org/wsdl/bitacora/bitacora" name="input1" type="msgns:bitacoraOperationRequest" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"><jbi:part xmlns:m="http://j2ee.netbeans.org/wsdl/bitacora/bitacora">
</jbi:part></jbi:message>
I18N: BPJBI-3015: Sending status for 123033969803782-31456-134439750657350063. Status: Done.
I18N: BPJBI-3002: Pattern for exchange Id 123033969803782-31456-134439750657350062 is http://www.w3.org/2004/08/wsdl/in-only
I18N: BPCOR-3003:
document before transformation:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi:message xm -
How to read an external XML file in a indesign Plugin?
Hi All,
Can you please guide in reading an external XML file in a indesign Plugin in MAC system. I am an windows user.We are using this file for reading some inputs.
Thanks,
DanielHello Daniel,
I am uncertain about the actual question. If you are developing a plug-in or otherwise interfacing with the guts of ID, I suggest asking the question in the SDK forum:
InDesign SDK Forum
Otherwise, what is it you are wanting to know concerning importing XML into InDesign?
Mike -
Small problem reading an XML document
Hi,
I have code that can read an XML document like this:
<?xml version="1.0" encoding="UTF-8"?>
<something>
<order orderid="1">
<customerid>12341</customerid>
</order>
</something>
but when I take out the first tag <something> and last tag </something> , it doesn't work at all and I have no clue why. Here is my code:
public class SaveOrders extends Object {
try {
//Get the root element and all order elements
Element ordersRoot = ordersDoc.getDocumentElement();
NodeList orders = ordersRoot.getElementsByTagName("order");
for (int i = 0; i < orders.getLength(); i++) {
//For each order, get the order element
Element thisOrder = (Element)orders.item(i);
} catch (ClassNotFoundException e) {
System.out.println("Error creating class: "+e.getMessage());thanks for your help!Every XML document must have a Document Root (in your case <something>). So, if you have multiple <order>'s within your XML document, there is no Doc Root! Eeek!
Get it? If you only have one <order> per XML file, then you should be alright (and might have another problem) because that <order> becomes the root, but the instant you have more than one, you need something to put all of them (your Doc Root).
Hope that helps! -
Help Required on Reading an External XML file in flex
Hi Experts
I want some help regarding flex.
I want to read an external xml file in flex and want to show
different datas in different components
So bacically i need what is the procedure to call an external
xml file and the procedure to catch the value of the xml tags and
the option (options means ex: "id" or "type inside" "row" tag ) in
side the xml file.
Here is My xml file named "skn_organ.xml"
<?xml version="1.0" encoding="UTF-8"?>
<slide>
<r>7</r>
<c>8</c>
<row id="A01" type="g">
<organ>Skn</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="A02" type="g">
<organ>Brt</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="A03" type="g">
<organ>Spl</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="A04" type="g">
<organ>Lnode</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="A05" type="g">
<organ>Ske</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="A06" type="g">
<organ>Lun</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="A07" type="g">
<organ>Sgl</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="A08" type="g">
<organ>Liv</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="B01" type="g">
<organ>Gal</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="B02" type="g">
<organ>Pan</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="B03" type="g">
<organ>Ton</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="B04" type="g">
<organ>Eso</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="B05" type="g">
<organ>Sto</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="B06" type="g">
<organ>Sto</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="B07" type="g">
<organ>Sbl</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="B08" type="g">
<organ>Col</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="C01" type="g">
<organ>Skn</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="C02" type="g">
<organ>Brt</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="C03" type="g">
<organ>Spl</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="C04" type="g">
<organ>Lnode</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="C05" type="g">
<organ>Ske</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="C06" type="g">
<organ>Lun</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="C07" type="g">
<organ>Sgl</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="C08" type="g">
<organ>Liv</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="D01" type="g">
<organ>Gal</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="D02" type="g">
<organ>Pan</organ>
<link>
http://www.designgarbage.com</link>
</row>
<row id="D03" type="g">
<organ>Ton</organ>
<link>
http://www.designgarbage.com</link>
</row>
</slide>Hi sanjivsutar,
Put your xml file under folder "assets", the application demo
is as following
====================================================================
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
initialize="init()">
<mx:Script>
<![CDATA[
private var mainXML:XML;
private var loader:URLLoader;
private function init():void {
loader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onComplete);
loader.load(new URLRequest('assets/skn_organ.xml'));
private function onComplete(evt:Event):void {
mainXML = new XML(loader.data)
out.text += "xml loaded, using E4X syntax: \n\n";
out.text += "Row 1: "+mainXML.row[0]+"\n"
out.text += "Row 6: organ = "+mainXML.row[5].organ+"\n"
out.text += "Row(id='D02'): link =
"+mainXML.row.(@id=="D02").link+"\n"
]]>
</mx:Script>
<mx:TextArea id="out" width="400" height="300"/>
</mx:Application>
======================================================================
Jeffrey -
So this is the thing: I have a regular xml file I want to
read from flash, locally it works as it should, when I upload it
things go wrong. Nothing seems to happen.
If I use the safari activity window it shows me the xml file
is either "forbidden" or "method not allowed". I already changed
the permissions on all the files, still nada...
I have no clue as to why is this happening, I'm leaving a
copy of all the files here
http://www.aquigorka.com/files.zip,
but I said locally it works, the problem is online. If any of you
have any ideas to figure out what's happening I'd appreciatte it.
Cheers
GorkaLet me clear a few things:
It works offline as it should:
A flash movie calls a static method from a class to bring
data from a database.
Usually I don't read from xml, I read from php (that is whay
I need the sendandload method), but to debug I transformed the php
into xml because I couldn't figure out what was causing the
problem.
So far, I think the problem is the sendandload method: if I
change the method to just load it works fine (offline and online),
if I turn it back to sendandload it just won't work online (offline
it works smoothly).
I know the onLoad action is being triggerred as it should,
but the xml object is empty (why?), I'll try and see if the
security settings have something to do with this.
Any other suggestions will be appreciated.
Thanks for the help so far, but I haven't found the answer
yet.
Cheers
Gorka -
I'm trying to read some XML data from temperature logger over my network. I'm using LabView version 2009 sp1. I'm using the URL Get Document Vi. It works fine when using Internet sites like google or foxnews etc...
When I use it with my temperature logger most of the time I get an Error 66...but some times it does work and actually retrieves the document.
I can use the same address "http://172.22.21.68/XMLfeed.rb" (Internet Explorer or Google Chrome) in my browser and get a response every time. When accessing from my browser the server in the temperature logger does take around 6 seconds to respond, but it does respond every time.
Is the URL Get Document Vi exceeding a timeout? If so, where can I set it to wait longer?
Attachments:
Error 66.jpg 183 KBIt looks like the TCP Buffered Read has a 2.5 sec timeout, I believe that is where I had trouble as well. Try creating your own URL Get HTTP Doc vi in which you call URL Get Document in normal mode, with an appropriate number of characters to fetch (enough characters so that you capture all the important data in the XML file).
Attachments:
ex1.PNG 33 KB -
Problem using saxparser(reading japanese xml file)
Hi everybody,
I hav a problem while reading japanese xml file.(UTF-8 charset)
I have to read the file and process it.
But in the characters function of the saxparser(defaulthandler) the japanese chatracters are not read properly and the program is
displaying some junk values(????) instead of the actual japanese characters.
I am also usind xsd validation.
I am not able to where the characters manipulation is being done.
Please help me as soon as possible .
Thanks in advance,
Charan.There are a couple of things probably going on.
1) When I've done things using Unicode unusual characters, they do not print properly if you do System.out.println( ). If you have a Gui panel and can put them into a JTextArea or JEditorPane, they may show up properly if you have set the font for that object to one that can display the characters.
2) Many people starting with SAX write their code assuming that the characters method is only called once for each element that has text content. This is incorrect. The characters method can be called many times, and it is your responsibility to catch all of the data. In 1.4 you can use a StringBuffer, or in 1.5 there is a StringBuilder. You use these to accumulate the data from all of the calls to charactrers() between the startElement and endElement.
Each parser can decide how often it calls characters, so you have to be able to process data from several calls.
Dave Patterson
Maybe you are looking for
-
HT4314 How do I remove Game Center from the IPhone 3G?
I do not want this app because there are games that were put on there that I did not were being put on there and I cannot remove them and would like to know how to remove this app from the IPhone 3G? Does anyone know how to do that ? Please help to g
-
Creating tables in pl/sql block
I have the following piece of code that I execute in sqlplusw as @c:\process.sql On running @c:\process.sql, an input is provided as prompted. There is a declare and begin that processes some code. What I am looking for is -- Is there a way that I ca
-
Query for all hours in a month?
Hello, I was hoping someone might be able to assist. I need to query for all the hours in a user specified date range (generally a month). For example, a query such as: select all hr_end from dual where start_date between '01-feb-2010' and '28-feb-20
-
Starting SOA Suite server in debug mode
Hello, anyone knows how to start soa suite server on debug mode? it basically oc4j server started from opmn. is there anyway i can pass the "-ojvm -XXdebug,port4000,detached,quiet" to opmn? Rudi
-
Generate error list with object detail
Dear All, I have two way (multimaster ) Replication but due to some reason it generated many errors during replicate data so to resolve errors, I want to generate error list (Report) with object details instead viewing them one by one. please guide T