JAX - RS vs Qt (Multipart Formdata)
Maybe someone has an idea what I am doing wrong.
I need to set up connections to the server for stunts and so far everything works fine.
applications work for JSON and flows downloads
the only problem still downloads a file on the server
Here is a Java Code existing for Jax - RS com.sun.jersey
FormDataMultiPart f = new FormDataMultiPart(); f.field("token", this.token); f.field("file_length", "" + length); f.field("group_pk", "" + groupPk); f.field("log_uc", this.username); f.field("comment", comment); f.field("expiration_date", ""); f.field("parent_path", parentPath); f.field("overwrite", (overwrite ? "1" : "0")); f.bodyPart(new StreamDataBodyPart("file_attachment", is, name));
and here is my stunts/Qt-Code
mRequestMultipart = new QHttpMultiPart(QHttpMultiPart::FormDataType, this); fileLengthPart.setHeader(QNetworkRequest::ContentDispositionHeader, QVariant("form.data; name=\"file_length\"")); fileLengthPart.setBody(QString::number(mFileLength).toUtf8()); mRequestMultipart->append(fileLengthPart); groupPkPart.setHeader(QNetworkRequest::ContentDispositionHeader, QVariant("form.data; name=\"group_pk\"")); groupPkPart.setBody(QString::number(mGroupPk).toUtf8()); mRequestMultipart->append(groupPkPart); parentPathPart.setHeader(QNetworkRequest::ContentDispositionHeader, QVariant("form.data; name=\"parent_path\"")); parentPathPart.setBody(mParentPath.toUtf8()); mRequestMultipart->append(parentPathPart); commentPart.setHeader(QNetworkRequest::ContentDispositionHeader, QVariant("form.data; name=\"comment\"")); commentPart.setBody(mComment.toUtf8()); mRequestMultipart->append(commentPart); logUcPart.setHeader(QNetworkRequest::ContentDispositionHeader, QVariant("form.data; name=\"log_uc\"")); logUcPart.setBody(mUser.toUtf8()); mRequestMultipart->append(logUcPart); expirationDatePart.setHeader(QNetworkRequest::ContentDispositionHeader, QVariant("form.data; name=\"expiration_date\"")); expirationDatePart.setBody(""); mRequestMultipart->append(expirationDatePart); tokenPart.setHeader(QNetworkRequest::ContentDispositionHeader, QVariant("form.data; name=\"token\"")); tokenPart.setBody(mToken.toUtf8()); mRequestMultipart->append(tokenPart); overWritePart.setHeader(QNetworkRequest::ContentDispositionHeader, QVariant("form.data; name=\"overwrite\"")); overWritePart.setBody(QString::number(0).toUtf8()); mRequestMultipart->append(overWritePart);fileAttachementPart.setHeader(QNetworkRequest::ContentTypeHeader, "application/octet-stream"); fileAttachementPart.setHeader(QNetworkRequest::ContentDispositionHeader, QVariant("form.data; name=\"file_attachment\"; filename=\""+mFileName+"\"")); fileAttachementPart.setBodyDevice(mFileToUpload); mRequestMultipart->append(fileAttachementPart);
This is the header
request.setRawHeader("Accept", "application/json"); request.setHeader(QNetworkRequest::ContentTypeHeader, "multipart/form-data");
Server always replying 'Bad Request'
think I forgot something. perhaps part of an attachment file is the problem?
edited: added ContentTypeHeader and file name in fileAttachmentPart, but still no luck
found the reason: a bug in Qt:
https://bugreports.Qt-project.org/browse/QTBUG-25429
Tags: BlackBerry Developers
Similar Questions
-
found a bug in causing problems QHttpMultiPart to download files
Here's the bug: https://bugreports.qt-project.org/browse/QTBUG-25429
the bug is corrected: https://codereview.qt-project.org/#change, 24142
but not in the Version of Qt comes with waterfalls
QHttpMultiPart missing a CRLF at the end after the deadline.
Any idea of solution?
added a few rooms to the Multipart and then make a Post
mNetworkAccessManager->post(request, mRequestMultipart);
have no idea how to add a CRLF to the Multipart and want to avoid building complex MultiPart manually
GOD
See also this thread: http://supportforums.blackberry.com/t5/Cascades-Development/JAX-RS-vs-Qt-Multipart-Formdata/td-p/200...
I finally got by downloading a picture and other settings.
QString fn = QDir::currentPath() + "/app/native/assets/images/icon.png"; QNetworkAccessManager* netManager = new QNetworkAccessManager(); if (!netManager) { qDebug() << "Unable to create QNetworkAccessManager!"; emit complete("Unable to create QNetworkAccessManager!", false); return; } QHttpMultiPart *multiPart = new QHttpMultiPart(QHttpMultiPart::FormDataType); QHttpPart commentPart; commentPart.setHeader(QNetworkRequest::ContentDispositionHeader, QVariant("form-data; name=\"comment\"")); commentPart.setBody("Comment goes here"); QHttpPart namePart; namePart.setHeader(QNetworkRequest::ContentDispositionHeader, QVariant("form-data; name=\"name\"")); namePart.setBody("Name goes here"); QHttpPart imagePart; imagePart.setHeader(QNetworkRequest::ContentTypeHeader, "image/png"); imagePart.setHeader(QNetworkRequest::ContentDispositionHeader, QVariant("form-data; name=\"image\"; filename=\"icon.png\"")); QFile *file = new QFile(fn); file->open(QIODevice::ReadOnly); imagePart.setBodyDevice(file); file->setParent(multiPart); multiPart->append(commentPart); multiPart->append(namePart); multiPart->append(blankImagePart); multiPart->append(sectionPart); multiPart->append(latPart); multiPart->append(lonPart); multiPart->append(imagePart); QString queryUri = "http://your.urlhere.com"; QUrl url(queryUri); QNetworkRequest req(url); QNetworkReply* ipReply = netManager->post(req, multiPart); connect(ipReply, SIGNAL(finished()), this, SLOT(commentDataReceived()));
-
Hi all
I am trying to download a file via a servlet, so there are two different codes. One in the desktop application, where the user selects the file and click on download, which is below to:
public void actionPerformed (ActionEvent e) {}
Con URLConnection;
try {}
JFileChooser selector = new JFileChooser();
chooser.setDialogTitle ("attachments" "+ jwin.getTitle () +" ' "");
Return int = chooser.showOpenDialog (null);
if(returnVal == JFileChooser.APPROVE_OPTION) {}
File sourceFile = new queue (chooser.getSelectedFile () .getPath ());
DestPath string = "/ var/www/html/pub/ewbattach";
String fileName = sourceFile.getPath ();
destPath += ' / ' + sourceFile.getName ();
attachFile.add (sourceFile.getName ());
FileInputStream end = new FileInputStream (sourceFile);
URL url = new URL("http://"+host+":"+port+"/ewb/servlet?mode="+URLEncoder.encode("transferFile") + "" & name = "+ URLEncoder.encode (fileName) +"& path ="+ URLEncoder.encode (destPath));"
con = url.openConnection ();
con.setDoInput (true);
con.setDoOutput (true);
con.setUseCaches (true);
con.setRequestProperty ("Content-Type", "multipart-formdata");
DataOutputStream dataOut = new DataOutputStream (con.getOutputStream ());
int c = 35720;
Byte b [] = new ubyte [c];
for (int i = fin.read (b, 0, c); I > = 0; I = fin.read (b, 0, c))
{
dataOut.write (b, 0, i);
}
dataOut.flush ();
dataOut.close ();
end. Close();
InputStream input = con.getInputStream ();
BufferedReader br is new BufferedReader (new InputStreamReader (input));.
String strRes = null;
While ((strRes = br.readLine ())! = null) {}
Input.Close ();
Br. Close();
}
} catch (Exception ex) {ex.printStackTrace () ;}
Finally
{
con = null;
}
}
};
And the other part of the code, which is underneath, is inside the servlet:
{if (mode.equalsIgnoreCase ("transferFile"))}
String fileName = req.getParameter ("name");
String destIP = req.getParameter ("path");
attachPath = destIP;
res.setContentType("text/plain");
System.out.println ("queue:" fileName "is ready to be transferred to" + destIP);
File destFile = new queue (destIP);
DataInputStream dataIn = new DataInputStream (req.getInputStream ());
BufferedOutputStream buffOut is new BufferedOutputStream (new FileOutputStream (destFile));.
int c = 30720;
Byte b [] = new ubyte [c];
Try
{
for (int j = dataIn.read (b, 0, c); j > = 0; j = dataIn.read (d, b, c))
{
buffOut.write (b, 0, j);
c += j;
}
}
catch (System.Exception e)
{
System.out.println ("Servlet error:" + e.getMessage ());
}
dataIn.close ();
buffOut.close ();
System.out.println ("now complete...");
}
But I get the error below:
java.io.FileNotFoundException: /var/www/html/pub/ewbattach/two.txt (no such file or directory)
INFO | JVM 1 | 08/24/2011 15:46:57 | at java.io.FileOutputStream.open (Native Method)
INFO | JVM 1 | 08/24/2011 15:46:57 | in java.io.FileOutputStream. < init > (FileOutputStream.java:179)
INFO | JVM 1 | 08/24/2011 15:46:57 | in java.io.FileOutputStream. < init > (FileOutputStream.java:131)
INFO | JVM 1 | 08/24/2011 15:46:57 | at SoldLogs.service (Servlet.java:635)
Which refers to the line of servlet:
BufferedOutputStream buffOut is new BufferedOutputStream (new FileOutputStream (destFile));.
Anyone know how to fix this?
Kind regards
Any help is appreciated.
Thanks in advanceThere is no such thing as the path named in the exception.
-
Form FF tag FormData why add fields SLnewses and WPTLNG?
I send the data form by using ajax and displaying a FormData.
The server receives the correct data and additional fields, i.e.:SLnewses = 1
WPTLNG = 1Best regards
John Rossati
Having noticed this problem myself, I found the culprit:
the add-on "ImTranslator" does not define these cookies! (See http://www.smartlinkcorp.com/ )In my case I was not able to access the many pages of a German authority (i.e. bundesnetzagentur.de), because these additional cookies raise an alert for the handling of cookie and - for security reasons - then stops delivery of the content of the page.
-
Mail and GPG: rendering of the multipart/alternative number
Hi experts,
When sending mails with GPG signature with attachments in PDF I am experiencing recently sent mail 'breaks' and rendered incorrectly. In practice, the mail in the "sent" folder is rendered as follows from the head:
--Apple-Mail=_3456AE07-AB2E-47D5-A51D-72A65C3EA7C0
Content-Type: multipart/alternative;
Boundary="Apple-Mail=_F632512F-F5D9-49EB-8160-CC40221F3A87".
--Apple-Mail=_F632512F-F5D9-49EB-8160-CC40221F3A87
Content-Transfer-Encoding: City-printable
Content-Type: text/plain;
charset = iso-8859-1
The rest is displayed as html followed a code referring to the attachments:
--Apple-Mail=_1BE6BC2D-9964-4396-8FD6-E0153EFB1CA9
Content-Disposition: inline;
filename = "Attachment.pdf"
Content-Type: application/pdf;
x-unix-mode = 0644;
name = "attachment2.pdf".
Content-Transfer-Encoding: base64
Finally, the hash of the signature key is returned.
Although there is an old discussion about this issue seems to be resolved:
https://discussions.Apple.com/thread/1648216?start=0&TSTART=0
Any idea of what we can do about it?
Thank you
Wolf
MacBook (13-inch, mid 2011) Air, OS X 10.11.3 (15 d 21), GPGMail 2.6b2
Hi people,
Fortunately I could fix it myself.
When checking the same mail on iOS, it was not broken, so, in this case is selected in the app OS X Mail sent mailbox, and rebuilt (Menu-->--> Rebuild mailbox). This process redownloads all mails and solves the problem.
Hope this helps other people,
Keep it up,
Wolf
-
Any warranty on Apple USB adapter - C VGA Multipart that is not w / in 6 months?
Hello
I bought a new Apple USB - C VGA Multipart adapter to my Mac dealer on July 23, 2015 and it failed on January 16. They say it is covered by the general Apple 1 year warranty, but I have to deal directly with Apple. I see on your page warranty information that a serial number is needed to start a claim under warranty. but I can't find one. How should I proceed?
You talk about Apple here. This is a user to user support forum. You must contact Apple Support direct. Use the link contact us at the bottom of the page, or make an appointment at the Genius Bar at the Apple Store nearest to see on your claim.
-
JAX - RPC, Webservice and the dateTime type elusive everything
I need to interface with a web service. I have no control over it, so I can't change the WSDL, the server, or something similar.
One of the types of data used is xsd: DateTime, a guy who according to it (table 1, JAX - RPC support for data types), is not supported on J2ME. Of my research (on this forum and on the Internet), person doesn't use any date/time/dateTime any form or is ordered to change their WSDL so it it does not use if they intend to use a client on J2ME.
If anyone has a clue on how to use it, because I said, I have no control over the server or the WSDL. Would be his replacement formatted by a string in the work in an appropriate manner or the JAX - RPC system would say it's the wrong type?
I used wscompile to get static stubs for the service, I can't compile without figure this (Type has only primitive types, 'UNKNOWN' what wscompile replaces the unsupported types is not cutting it for obvious reasons). Temporarily, I've replaced 'UNKNOWN' with Type.STRING but I don't know if it will work (that's why I asked).
OK, the base64Binary Type I used was Type.STRING. Then I just ran through the Base64InputStream.decode that does the job. I realized that two types do not work (wscompile is good for a general idea of how a web service must be implemented but horrible to the actual implementation) so I need to rewrite much of the code and decided to rewrite it so that it works better and is more clean.
Thanks for the help.
EDIT:
It was also the help function, I used to convert a string to a timetable so that it works with the web service:
public static String toSOAPString(Calendar cal) { if(cal == null) { return null; } StringBuffer buf = new StringBuffer(); //Get format new SimpleDateFormat("yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'SSS").format(cal, buf, null); buf.append("0000"); //Timezone String zoneID = cal.getTimeZone().getID(); int index = zoneID.indexOf('-'); if(index == -1) { index = zoneID.indexOf('+'); /* If no timezone offset exists, it isn't needed if(index == -1) { buf.append("+00:00"); } */ } if(index != -1) { buf.append(zoneID.substring(index + 1)); } return buf.toString(); }
-
plain text avoid sending multipart on BES/Exchange-connected device
I send email from the blackberry within our application. The outgoing format plain-text-messages that BES (or Exchange) by default uses is multipart. A part in html and plaintext part. Is there any 'magic' parameter which forces the plain text mails do not send multiparted?
Who is responsible for the multipart-shaped?
Is your handheld or BES or Exchange?
Anil cordially
The BlackBerry Enterprise Server should not change the e-mail sent from a BlackBerry. It can be Exchange that does this (unless you create a message to multiple parties on the BlackBerry).
-
Multipart returns always that one count when reading an email with the embedded image.
Hello
IM using the code reading multipart below.
MimeMultipart mmp = (MimeMultipart) messages[i].getContent(); for (int m = 0; m < mp.getCount(); m++) { BodyPart bp = mp.getBodyPart(m); }
County multipart is always if I have the mail has an embedded in image. If im is unable to read the html content of the mail.
I used mmp.writeTo (os); to get all the content and here is the response recorded in the file.
_______________________________________________________________________________________
-__144776919228689748abhmp0001.oracle.com
Content-Type: multipart/alternative;
Boundary = "__144776919228789749abhmp0001.oracle.com."
-__144776919228789749abhmp0001.oracle.com
Content-Type: text/plain; charset = us-ascii
Content-Transfer-Encoding: City-printable
= 20
= 20
From: arrr fff = 20
Sent: Tuesday, November 17, 2015 19:34
To: croape_in
Subject: RE: travel request
= 20
= 20
= 20
From: arrr fff = 20
Sent: Tuesday, November 17, 2015 19:05
To: croape_in
Subject: Travel request
= 20
Hello
test here.
= 20
= 20
-__144776919228789749abhmp0001.oracle.com
Content-Type: multipart/related;
Boundary = "__144776919228789750abhmp0001.oracle.com."
-__144776919228789750abhmp0001.oracle.com
Content-Type: text/html; charset = us-ascii
Content-Transfer-Encoding: City-printable
< html xmlns: v = 3D "" urn: schemas-microsoft - com:vml "xmlns:o = 3D" urn: schemas-micr =
product-com"xmlns:w = 3D" "urn: schemas-microsoft - com:office:word" = "
" xmlns: m = 3D" http://schemas.Microsoft.com/Office/2004/12/omml "xmlns = 3D" http:=
www.w3.org/TR/REC-html40"> < head > < META HTTP-EQUIV ="Content-Type"3D HAPPY =
= 3D text/html"; charset = ascii 3Dus "> < meta name = happy 3DGenerator = 3D" microphones =
OFT Word 12 (filtered average) "> <!--[if!" MSO] > < style > v: * {behavior: url (#def =}
"(Ault #VML) ;}"
O'Bryan: * {behavior:url(#default#VML) ;}
w\: * {behavior:url(#default#VML) ;}
. Shape {behavior:url(#default#VML) ;}
< / style > <! [endif]--> < style > <!--
/ * Font definitions * /.
@font-face
09 = {do-family: "Cambria Math";}
= 09panose-1:2 4 5 3 5 4 6 3 2 4 ;}
@font-face
09 = {do-family: Calibri;}
= 09panose-1:2 15 5 2 2 2 4 3 2 4 ;}
@font-face
09 = {do-family: Tahoma;}
= 09panose-1:2 11 6 4 3 5 4 4 2 4 ;}
/ * Style definitions * /.
p.MsoNormal, li. MsoNormal, div. MsoNormal
09 = {margin: 0}
= 09margin-bottom: .0001pt;
= 09font-size: 11.0pt;
= 09font-family: 'Calibri', 'sans-serif' ;}
a: link, span. MsoHyperlink
09 = {mso-style-priority: 99;}
= 09color:blue;
= 09text-decoration: underline ;}
a: visited, span. MsoHyperlinkFollowed
09 = {mso-style-priority: 99;}
= 09color:purple;
= 09text-decoration: underline ;}
p.MsoAcetate, li. MsoAcetate, div. MsoAcetate
09 = {mso-style-priority: 99;}
= 09mso-style-link: "balloon text Char";
= 09margin:0
= 09margin-bottom: .0001pt;
= 09font-size: 8.0pt;
= 09font-family: "Tahoma", "sans-serif" ;}
span. BalloonTextChar
09 = {mso-style-name: "Balloon text Char";}
= 09mso-style-priority: 99;
= 09mso-style-link: "tip text";
= 09font-family: "Tahoma", "sans-serif" ;}
span. EmailStyle19
09 = {mso-style-type: personal;}
= 09font-family: 'Calibri', 'sans-serif ';
= 09color:windowtext ;}
span. EmailStyle20
09 = {mso-style-type: personal;}
= 09font-family: 'Calibri', 'sans-serif ';
= 09color: #1F497D ;}
span. EmailStyle21
09 = {mso-style-type: personal-response;}
= 09font-family: 'Calibri', 'sans-serif ';
= 09color: #1F497D ;}
. MsoChpDefault
09 = {mso-style-type: export-only;}
09font-size =: 10.0pt ;}
@page WordSection1
09 = {size: 8.5 to 11.0 in;}
= 09margin:1.0 in 1.0 in 1.0 in 1.0 in. ;}
div. WordSection1
09 = {page: WordSection1 ;}}
--> < / style > <!-[if gte mso 9] > < xml >
< o: shapedefaults v: ext = 3D "edit" spidmax = 3D "1026" / >
< / xml > <! [endif]--> <!-[if gte mso 9] > < xml >
< o: shapelayout v: ext = 3D "edit" >
< o: idmap v: ext = 3D "edit" = 3D "1" / >
< / o: shapelayout > < / xml > <! [endif]--> < / head > < body lang = link = 3Dblue = vli 3Dfr-US
NK = 3Dpurple > < div class = "3DWordSection1" > < class p = "3DMsoNormal" > < span style = 3D'c =
olor: #1F497D "> < o: p > < / o: p > < / span > < /p > < class p ="3DMsoNormal"> < span style =.
= 3D "color: #1F497D" > < o: p > < / o: p > < / span > < /p > < div > < div style = 3D' border: no = "
does; border-top: full #B5C4DF 1.0pt; padding: 3.0pt 0: 0 in 0 in ' > < class = "3DMso" = p
Normal > < b > < span style = 3D' do-size: 10.0pt; do-family: "Tahoma", "sans-serif" =.
' > from: </span > < / b > < span style = 3D' do-size: 10.0pt; do-family: "Tahoma", "san =
s sΘrif"' > feels pcdo fff < br > < b >: < /b > on Tuesday, November 17, 2015 19:34 < =.
br > < b > to: croape_in < /b > < br > < b > subject: < /b > RE: travel request < o: p > < / o: p > < / s =.
Pan > < /p > < / div > < / div > < class p = "3DMsoNormal" > < o: p > < / o: p > < / p > < class = "3DMs" = p
oNormal > < span style = 3D "color: #1F497D" > < o: p > < / o: p > < / span > < /p > < class = p "
= 3DMsoNormal > < span style = 3D "color: #1F497D" > < o: p > < / o: p > < / span > < /p > < div = "
> < div style = 3D "border: none; border-top: full #B5C4DF 1.0pt; padding: 3.0pt = 0
0 to 0 in ' > < class p = "3DMsoNormal" > < b > < span style = 3D' do-size: 10.0pt; make family =
LY: "Tahoma", "sans-serif" ' > from: </span > < / b > < span style = 3D' do-size: 10.0pt; f =
Ontario-family: "Tahoma", "sans-serif" ' > feels pcdo fff < br > < b >: < /b > Tuesday, no. =
November 17, 2015 19:05 < br > < b > to: croape_in < /b > < br > < b > subject: < /b > travel R =
eQuest < o: p > < / o: p > < / span > < /p > < / div > < / div > < class p = "3DMsoNormal" > < o: p > < / o =
: p > < /p > < class p = "3DMsoNormal" > Hi, < o: p > < / o: p > < / p > < class p = "3DMsoNormal" > his = test
e & #8230; < o: p > < / o: p > < / p > < class p = "3DMsoNormal" > < o: p > < / o: p > < / p > < class = p
= 3DMsoNormal > < o: p > < / o: p > < / p > < class p = "3DMsoNormal" > < img width = hei = 3D151
GHT = 44 3 id = 3D "Picture_x0020_1" src = 3D "cid:[email protected]" > =.
< o: p > < / o: p > < / p > < / div > < body / > < / html >
-__144776919228789750abhmp0001.oracle.com
Content-Type: image/png; name = "image001.png.
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename = 'image001.png.
Content-ID: < [email protected] >
iVBORw0KGgoAAAANSUhEUgAAAJcAAAAsCAIAAADn8L2YAAAAAXNSR0IArs4c6QAAAAlwSFlzAAAO
xAAADsQBlSsOGwAAF8dJREFUeF7tXAlwVGWe73f0fSSdzkliIAqRJAiIHI6uyqgczuh6jMtAqcXg
WqKjizWjNWONy + p6jKMuVSw76kytujOKsCDo6OrKvYJERIRgkCNgIJJA5 + r0fb1 + 7 / X + vu/rfnQ6
3QkRpGaUr75KPd77zv/vf39fw/X64067nuc43fnyN0gBNZn0BhP83 + DKzy85mwLccGVR8vsTfv95
Qp59CiSTvMlkLisb1shMFk8LRff69e1r1nz9yisBnU4/rEnONx4mBRSdTtDpKq + 4YvSiRZU33iha
rYMPcFoodm7cuOu ++ yJHjyZ1OlTR6RRMJphQDoW + ySqpl7I8zMWfb04pkCRFkeW4z5fQ6ex2e + 0D
D1zy7LODUGdoFDdfddXJ7dtNohiTZXNDQ + 20aeXxuE2nM + n1vCBgyhyjK4puyhTyKZEA1OfBGQYF
C/QDRZVhKJWDDoD4c7u7sPb9gQ9HpLysqu27rVfvHFOYcaDEV/O6adP4WEwWRUdd3ZQZM0rb2pRD
h2S9PsnzBD3wTJ4FcrLMA8iCAl08fh7IYaDImhItxyFkEHleV1Fx0uP59I03 + jo7r3jmmfrf/Gbg
aHlR9DU1bbrqqmQ0qphM426/fazfr7S2JgSB01ObmBe + 9BQAWFWFCRO4oqKkJA17G + c7aBRQVQPE
prBw3759u9955 + qlS2sfeiiLPHlRXMlxAsclnM7Zd9xhb2yEOtWJ4vBoC6SjUX7iRL6yEg/D6/vd
ba1pL2JpQCJqcdjLfLYHXzlVNdtsPTy/5vnn/37t2qrbbsukUG4U102a5G9q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qXpMo4rvTSS + GztLW0eHt6gu3tEH1Io7WoyFldXVFRcWF9fcfevUjfMMWQkx7M
5Z729tti + vg6r0Zl/cNtbf9TU6OHRCJB8F0FMotUlHZE + Kj7Q0iJAz + EmIWFxuJiCCuhL5xMnOCz
wzLgquVihrSpkGqExRgN2QxUux1DIS5KIGWDJFw8Hg + HebzJn0UBK8jh8LSVK80VFZkLz61RtRax
rq6V5eXIv + gtlnPko597icw5I4MkLXapHALNeOEIV7BYcMUSfoPB6YTgkjCGos78Xi2hqp0wazOc
ynikU + dkGmIhefZrt7y7R + SCe8YezzUbNxqLirKaDYEikVZJ2jBjxolt23AHMLex/Suh-7laBgOJ
CSLLtcK4IZKB7tXb7bgtDXnFb60BNoSYqLEMdFOGNkuxDaXn0AvHc65p0yYtW4bT/4EbHRpF1ufY
G298smgRfqOMMaBjz8ja5yI3cRozjiG1YwomEFlfyTttEGafNELQh8EDezbaIIWsJFMu0iKS1Ys0
0UQW81K0mGyR39CwCi8GxhWgQnYBsMkEP4P8BhutaAjBmpEuGUaarY1Y6mAQpxlgjrpf/rJi5sx8
az5dFFn/1jffPLhkSVtTE7llOhQthiUbGA0cjb8YGTX1TDQNOV8kd8joX/LzBnq3mtxPYVFXupAI
mr4kiVPajN6hJ39ZgoThwjJejEZMkpD91H4mwXKqJFWfPqGlRwPkgCD1QPP4CAnwCn9RyVUVGvCR
mJ3 + ei3rvzMggQRDJU0RFuxrf4l1RKU7xGLYxQ44z0osVjN / / qjbb6 + YNWtwthseihowkY4Oz969
sJrsSOjMCxM + RlbGhyzTzV6nSJB60pqc0kSaKdIo1U + a00NlkpIgqq1bkwOGdMYnzdc4dYCVZoSU
2LHjMK0jzcgMUTRzqy3s1L6JujaWlBRNnGivqRlqoNT3b4jiaY5 + vtm5oQBDcbADwnOzjvOznDkF
/ h + 6fZlTwrbS5AAAAABJRU5ErkJggg ==
-__144776919228789750abhmp0001.oracle.com-
-__144776919228789749abhmp0001.oracle.com-
-__144776919228689748abhmp0001.oracle.com-
Hello
I think it is because you have a multipart in the part of the body of the main multipart. So you need to analyze the part of the body as a multipart as well. The pieces are hierarchical organized.
You must test this with several email clients, such as thunderbird, outlook, gmail, etc. Different e-mail clients manage multiparts differently. Smtp-multipart definitions leave room for interpretation.
Kind regards
Martian
-
Hello
I use JDev 11.1.1.7.0 and Weblogic 10.3.
I have a JAX - WS based web service on which authentication and authorization was in place and operational.
The SOAP request carries information of SOAP header with the token of user name and password for authentication. Similarly the SOAP response can also transport header to the client information? So that the customer who receives the answer happens to knowledge of who he actually received the answer.
Thanks in advance.
Hi Harsha,
Is quite easy to define soap headers in a response message soap envelope. No need to use handlers either. Please find the link that would be useful below.
You must use the WebParam property and set the modes for messages (IN, OUT, INOUT) and you can pass multiple values JAX WS service using "javax.xml.ws.Holder".
http://tomee.Apache.org/examples-trunk/WebService-holder/Readme.html
Please find the sample and put interfaces implement the Web service for the same.
Interface:
@WebMethod (operationName = "GetItemDetails", action = "http://xmlns.org/ItemService/GetItemDetails/V1")
Public Sub getItemDetails)
@WebParam (name = "ItemCandListServiceMessage", targetNamespace = "http://xmlns.org/ItemCandList", partName is "ItemRequest" mode = Mode.IN) ItemCandListServiceMessageCmplxType itemRequest,.
@WebParam (name = "ItemServiceMessage", targetNamespace = "http://xmlns.org/Item", partName is "ItemResponse" mode = Mode.OUT) owner
itemResponse,. @WebParam (name = "ItemSOAPHeader", targetNamespace = "http://xmlns.org/ItemSOAPHeader", "ItemSOAPHeader" = partName, header = true, mode = Mode.INOUT) holder
itemSOAPHeader) throws ItemFaultMessage
;
Implementation:
public void getItemDetails (ItemCandListServiceMessageCmplxType itemRequest,
door itemResponse, door itemSOAPHeader) throw {ItemFaultMessage} itemResponse.value = objectFactory.createItemServiceMessageCmplxType ();
itemSOAPHeader.value.setRequestId ("response");
itemResponse.value = itemServiceBean.getItemDetails (itemRequest, itemSOAPHeader.value, itemResponse.value);
}
-
How to use authorization policies GOSA in JAX - WS?
Hello
I use Weblogic 10.3 and JDev 11.1.1.7.0.
I developed a JAX - WS Web Service with oracle/wss_username_token_server_policy on my weblogic server and I have configured the oracle/wss_username_token_client_policy on my OSB and able to consume the web service successfully. Now that I have configured authentication successfully, I have to configure the following permission. How to on this subject? I went through the oracle and read documentation some policies of GOSA. What policy would ideally be appropriate to allow an aunthenticated user? How to do this?
957742 - can u please provide your suggestions on this one?
Thanks in advance.
Hi Harsha,
Links below may be useful for you.
http://WebLogic-wonders.com/WebLogic/tag/securing-WebServices/
-
Advanced Web services addition of Weblogic for JAX - WS extending resources to new managed server
If we add a server managed additional to a weblogic domain that has been configured to support Web Services Advanced to Weblogic for the Extensions of JAX - WS in the creation of the domain, what is the right method to add the resources to the new managed server? All of these objects are created automatically when the wls_webservice_jaxws.jar is selected in the creation of the field. However, it is not possible to reuse the model to add resources to a newly added managed server.
We tried to use the wls_webservice_complete_update_utils.py to create these objects, but when this script is pointing to a single server, it seems that to create the JaxWsSafAgent and no other resource is created for the new managed server.
in the event of possible it helps someone who may have the same question, I got, I developed the following wlst script to add and configure the resources of JAX - WS Adv Svcs for a managed server newly added to an area that already has the support of the service.
###############################################################################
# Oracle documentation:
# Configure a JMS server, service agent of Store-and-forward (SAF) and store persistent on each WebLogic Server.
# In a cluster, each to a target (not the server) local migratable target.
# Host server 'default migratable target' is sufficient in most cases.
# Target JMS modules to a cluster (or single server if not not using a clustered environment).
# Create exactly a subdeployment by module.
# and fill the subdeployment with JMS servers applicable or SAF agents only, not servers.
# Target JMS destinations the subdeployment (called Advanced Targeting in the Administration Console).
# JMS destinations do not use by default the targeting option.
# The following variables are used in the table:
server_designator # specifies an ID that is generated automatically by the configuration infrastructure.
# In general, this ID is in the format auto_number.
# uniqueID specifies a unique digital ID that is generated automatically by the configuration infrastructure.
# In General, this ID is a numeric value, for example 1234.
# servername specifies the name specified by the user to the server.
# http://docs.oracle.com/cd/E23943_01/web.1111/e13758/setenv.htm#CACJHIJD
# RESOURCE NAME RESOURCE TYPE
# WseeJaxwsJmsModule JMS Module
# File WseeJaxwsFileStore_server_designator storage
# WseeJaxwsJmsServer_server_designator JMS server
# WseeJaxwsJmsServeruniqueID JMS Subdeployment
# Manager weblogic.wsee.jaxws.mdb.DispatchPolicy of work
# Service ReliableWseeJaxwsSAFAgent_server_name SAF agent
# Queue JMS WseeBufferedRequestQueue_server_designator
# Queue JMS WseeBufferedRequestErrorQueue_server_designator
# Queue JMS WseeBufferedResponseQueue_server_designator
# Queue JMS WseeBufferedResponseErrorQueue_server_designator
# WseeStore Logical store
import sys
import random
# import os
def main():
Connect ("weblogic', ' password ',' t3: / / hostname:8001")
domainType = "osb".
# change the index value to coincide with the index number of the managed server
# that needs resources, for example osb_server3 or wls_server3 would be all two use index = 3
# osb_server4 would need to index = 4, etc.
index = 3
managedServerName = domainType + '_server %s' % index
print ' managedServerName is: "+ managedServerName
print (' check if server ' + managedServerName + "exists...")
CD ('/Servers')
Server = ls('c')
If (servers.find (managedServerName)! = - 1):
Print ('Server' + managedServerName + "exists...")
# Get the Configuration Manager and check for existing session
cfgManager = getConfigManager()
Try:
cfgManager.getChanges)
Print ("failed to open an editing session. Please clear any open the locks on the configuration. ")
Print ("Please investigate the lock and try again the script. Script output. ")
Disconnect()
Exit()
except:
Edit()
startEdit()
Print ("creation WseeStore LogicalStore...")
createLogicalStore (managedServerName, 1).
Print ("WseeStore LogicalStore...")
Print ('creating JMS resources and configuration UDQs...')
createJMSResources (managedServerName, index)
print ("resources created JMS and configured UDQs... »)
Print ("activate changes...")
Activate()
Print ("enabled... changes")
print ("disconnection of AdminServer...")
Disconnect()
Print ("disconnected from AdminServer...")
Print ("Script completed successfully. Please check the changes you made. ")
Exit()
Another thing:
There are 0 =
print (managedServerName + "does not exist in this area.) Script will now stop. »)
Disconnect()
Exit()
def createLogicalStore (managedServerName, setAsDefault):
CD ('/ servers /' + managedServerName + ' / WebService /' + managedServerName + ' / WebServicePersistence /' + managedServerName + ' / ' WebServiceLogicalStores)
logicalStores = ls('c')
If (logicalStores.find ('WseeStore')! = - 1):
Print ("ERROR: LogicalStore WseeStore exist already for ' + managedServerName")
Print ("Please study. Script output. ")
cancelEdit('y')
Disconnect()
Exit()
Another thing:
CD ('/ servers /' + managedServerName + ' / WebService /' + managedServerName + ' / WebServicePersistence /' + managedServerName)
cmo.createWebServiceLogicalStore ('WseeStore')
CD ('/ servers /' + managedServerName + ' / WebService /' + managedServerName + ' / WebServicePersistence /' + managedServerName + ' / WebServiceLogicalStores/WseeStore ')
cmo.setPersistenceStrategy ('LOCAL_ACCESS_ONLY')
cmo.setRequestBufferingQueueJndiName ('weblogic.wsee.BufferedRequestQueue')
cmo.setResponseBufferingQueueJndiName ('weblogic.wsee.BufferedResponseQueue')
If setAsDefault == 1:
CD ('/ servers /' + managedServerName + ' / WebService /' + managedServerName + ' / WebServicePersistence /' + managedServerName)
cmo.setDefaultLogicalStoreName ('WseeStore')
def createJMSResources (managedServerName, index):
targetServer = jarray.array ([ObjectName ('com.bea:Name =' + managedServerName + ", Type = server '")], ObjectName)
# creating persistence store for jms Server
# NOTE: you will need to create the physical folder for the storage of files
print ('* FileStore creation ')
filestore_list = ["WseeJaxwsFileStore"]
Count = 0
limit = 1
While County<>
CD ('/Deployments')
Filestore = ls('c')
Filestore = filestore_list [count] + '_auto_ %s' % index
If (fileStores.find (filestore)! = - 1):
print ("' ERROR: Filestore ' filestore + ' already exists!")
Print ("Please study. Script output. ")
cancelEdit('y')
Disconnect()
Exit()
Another thing:
print ('* adding ' + filestore)
CD('/')
cmo.createFileStore (filestore)
CD ('/ deployments /' + filestore)
cmo.setDirectory (filestore)
objectives (", target server)
print ("Filestore" + filestore + "created")
# create file storage directory, if there is no
dir = System.getenv ('DOMAIN_HOME') + ' / ' + filestore
Try:
OS.stat (dir)
except:
OS.mkdir (dir)
Count += 1
# the server jms creation
print ('* creating WseeJaxws JMS Server "")
# create server jms WseeJaxwsJmsServer_auto_x
CD ('/JMSServers')
jmsServers = ls('c')
If (jmsServers.find (' %s '% index WseeJaxwsJmsServer_auto_)! = - 1):
print ("ERROR: WseeJaxwsJmsServer_auto_ % if % index + ' already exists!")
Print ("Please study. Script output. ")
cancelEdit('y')
Disconnect()
Exit()
Another thing:
CD('/')
cmo.createJMSServer (' %s '% index WseeJaxwsJmsServer_auto_)
CD ('/ JMSServers/WseeJaxwsJmsServer_auto_ % if % index)
cmo.setPersistentStore (getMBean ('/ deployments/WseeJaxwsFileStore_auto_ % if % index))
objectives (", target server)
targetWseeJaxwsJmsServer = jarray.array ([ObjectName ('com.bea:Name = WseeJaxwsJmsServer_auto_ % be % index + ", Type = JMSServer")], ObjectName)
print (index "WseeJaxwsJmsServer_auto_ %s" % + "created")
# creating WseeJaxwsJmsModule components
print ('* create queues: index % WseeBufferedRequestQueue_auto_ % to + ', WseeBufferedRequestErrorQueue_auto_ % if % index + ', WseeBufferedResponseQueue_auto_ % if % index + ' and WseeBufferedResponseErrorQueue_auto_ % if % index)
# check if subdeployment in WseeJaxwsJmsModule
# targeted on the new JMS server already exists
CD('/JMSSystemResources/WseeJaxwsJmsModule/SubDeployments')
wseejaxwsSubs = ls ("c", returnMap = 'true')
for wseejaxwsSub in wseejaxwsSubs:
CD ('/ JMSSystemResources/WseeJaxwsJmsModule/SubDeployments /' + wseejaxwsSub + "/ target")
existingSubTargets = ls ("c", returnMap = 'true')
for existingSubTarget in existingSubTargets:
CD ('/ JMSSystemResources/WseeJaxwsJmsModule/SubDeployments /' + wseejaxwsSub + ' / objectives /' + existingSubTarget)
If (existingSubTarget == 'WseeJaxwsJmsServer_auto_ %s' % index):
print (' ERROR: SubDeployment WseeJaxwsJmsModule ' + wseejaxwsSub + ' already exists and is intended for the %s '% index WseeJaxwsJmsServer_auto_)
Print ("Please study. Script output. ")
cancelEdit('y')
Disconnect()
Exit()
# create subdeployment in WseeJaxwsJmsModule
CD('/JMSSystemResources/WseeJaxwsJmsModule')
# Number of eight random numbers to generate and convert to string
# If the subname will conform to the standard naming convention
# using numbers beginning with four to ensure it is random in existing facilities
# and try to create some level of self-documentation to coincide with the index server
uniqueID = str (random.randrange (00000000,99999900))
subName = "%s WseeJaxwsJmsServer" % index + uniqueID
cmo.createSubDeployment (subName)
print ('SubDeployment' + subName + "created")
# create queue WseeBufferedRequestQueue_auto_x
CD('/JMSSystemResources/WseeJaxwsJmsModule/JMSResource/WseeJaxwsJmsModule/Queues')
queue = ls('c')
If (queues.find (' %s '% index WseeBufferedRequestQueue_auto_)! = - 1):
print ("ERROR: WseeBufferedRequestQueue_auto_ % if % index + ' already exists!")
Print ("Please study. Script output. ")
cancelEdit('y')
Disconnect()
Exit()
Another thing:
CD('/JMSSystemResources/WseeJaxwsJmsModule/JMSResource/WseeJaxwsJmsModule')
cmo.createQueue (' %s '% index WseeBufferedRequestQueue_auto_)
CD ('/ JMSSystemResources/WseeJaxwsJmsModule/JMSResource/WseeJaxwsJmsModule/Files/WseeBufferedRequestQueue_auto_ % if % index)
cmo.setJNDIName ('weblogic.wsee.BufferedRequestQueue_auto_ % if % index)
cmo.setSubDeploymentName (subName)
CD ('/ JMSSystemResources/WseeJaxwsJmsModule/SubDeployments /' + subName)
Set ('Targets', targetWseeJaxwsJmsServer)
print (index ' WseeBufferedRequestQueue_auto_ %s "% +" created")
# create queue WseeBufferedRequestErrorQueue_auto_x
CD('/JMSSystemResources/WseeJaxwsJmsModule/JMSResource/WseeJaxwsJmsModule/Queues')
queue = ls('c')
If (queues.find (' %s '% index WseeBufferedRequestErrorQueue_auto_)! = - 1):
print ("ERROR: WseeBufferedRequestErrorQueue_auto_ % if % index + ' already exists!")
Print ("Please study. Script output. ")
cancelEdit('y')
Disconnect()
Exit()
Another thing:
CD('/JMSSystemResources/WseeJaxwsJmsModule/JMSResource/WseeJaxwsJmsModule')
cmo.createQueue (' %s '% index WseeBufferedRequestErrorQueue_auto_)
CD ('/ JMSSystemResources/WseeJaxwsJmsModule/JMSResource/WseeJaxwsJmsModule/Files/WseeBufferedRequestErrorQueue_auto_ % if % index)
cmo.setJNDIName ('weblogic.wsee.BufferedRequestErrorQueue_auto_ % if % index)
cmo.setSubDeploymentName (subName)
CD ('/ JMSSystemResources/WseeJaxwsJmsModule/SubDeployments /' + subName)
Set ('Targets', targetWseeJaxwsJmsServer)
print (index ' WseeBufferedRequestErrorQueue_auto_ %s "% +" created")
# create queue WseeBufferedResponseQueue_auto_x
CD('/JMSSystemResources/WseeJaxwsJmsModule/JMSResource/WseeJaxwsJmsModule/Queues')
queue = ls('c')
If (queues.find (' %s '% index WseeBufferedResponseQueue_auto_)! = - 1):
print ("ERROR: WseeBufferedResponseQueue_auto_ % if % index + ' already exists!")
Print ("Please study. Script output. ")
cancelEdit('y')
Disconnect()
Exit()
Another thing:
CD('/JMSSystemResources/WseeJaxwsJmsModule/JMSResource/WseeJaxwsJmsModule')
cmo.createQueue (' %s '% index WseeBufferedResponseQueue_auto_)
CD ('/ JMSSystemResources/WseeJaxwsJmsModule/JMSResource/WseeJaxwsJmsModule/Files/WseeBufferedResponseQueue_auto_ % if % index)
cmo.setJNDIName ('weblogic.wsee.BufferedResponseQueue_auto_ % if % index)
cmo.setSubDeploymentName (subName)
CD ('/ JMSSystemResources/WseeJaxwsJmsModule/SubDeployments /' + subName)
Set ('Targets', targetWseeJaxwsJmsServer)
print (index ' WseeBufferedResponseQueue_auto_ %s "% +" created")
# create queue WseeBufferedResponseErrorQueue_auto_x
CD('/JMSSystemResources/WseeJaxwsJmsModule/JMSResource/WseeJaxwsJmsModule/Queues')
queue = ls('c')
If (queues.find (' %s '% index WseeBufferedResponseErrorQueue_auto_)! = - 1):
print ("ERROR: WseeBufferedResponseErrorQueue_auto_ % if % index + ' already exists!")
Print ("Please study. Script output. ")
cancelEdit('y')
Disconnect()
Exit()
Another thing:
CD('/JMSSystemResources/WseeJaxwsJmsModule/JMSResource/WseeJaxwsJmsModule')
cmo.createQueue (' %s '% index WseeBufferedResponseErrorQueue_auto_)
CD ('/ JMSSystemResources/WseeJaxwsJmsModule/JMSResource/WseeJaxwsJmsModule/Files/WseeBufferedResponseErrorQueue_auto_ % if % index)
cmo.setJNDIName ('weblogic.wsee.BufferedResponseErrorQueue_auto_ % if % index)
cmo.setSubDeploymentName (subName)
CD ('/ JMSSystemResources/WseeJaxwsJmsModule/SubDeployments /' + subName)
Set ('Targets', targetWseeJaxwsJmsServer)
print (index ' WseeBufferedResponseErrorQueue_auto_ %s "% +" created")
print (queues "in the created WseeJaxwsJmsModule")
# try except block is sufficient to avoid any problem if these queues
# have already been added to the queues of dist WseeJaxws
# If this is the case, the following exception is thrown:
# weblogic.descriptor.BeanAlreadyExistsException: bean already exists
Try:
print ('* addition of the queues in distributed queues)
queue_list = ['WseeBufferedRequestErrorQueue', 'WseeBufferedResponseQueue', 'WseeBufferedRequestQueue', 'WseeBufferedResponseErrorQueue']
Count = 0
limit = 4
While County<>
queue = queue_list [count] + '_auto_ %s' % index
dist_queue = "dist_" + queue_list [count] + 'sent '.
print ('* added ' queue + 'to' + dist_queue)
CD ('/ JMSSystemResources/WseeJaxwsJmsModule/JMSResource/WseeJaxwsJmsModule/DistributedQueues /' + dist_queue)
cmo.createDistributedQueueMember (tail)
CD ('/ JMSSystemResources/WseeJaxwsJmsModule/JMSResource/WseeJaxwsJmsModule/DistributedQueues /' dist_queue ' / DistributedQueueMembers /' ++ queue)
cmo.setWeight (1)
Print ("queue added to UDQ")
Count += 1
except:
Print ("an exception was encountered adding JMS queues for distributed queues '")
Print ("Please study using the thread dump information provided.'")
Print ("the script will now stop.")
cancelEdit('y')
Disconnect()
lift
# create ReliableWseeJaxwsSAFAgent
Print ("Creating ReliableWseeJaxwsSAFAgent_auto_ %s" % index + '...')
CD ('/SAFAgents')
safAgents = ls('c')
If (safAgents.find (' %s '% index ReliableWseeJaxwsSAFAgent_auto_)! = - 1):
print ("ERROR: SAFAgent ReliableWseeJaxwsSAFAgent_auto_ % index %s 'exists already for' + managedServerName")
Print ("Please study. Script output. ")
cancelEdit('y')
Disconnect()
Another thing:
CD('/')
cmo.createSAFAgent (' %s '% index ReliableWseeJaxwsSAFAgent_auto_)
CD ('/ SAFAgents/ReliableWseeJaxwsSAFAgent_auto_ % if % index)
cmo.setStore (getMBean ('/ filestore/WseeJaxwsFileStore_auto_ % if % index))
Set ('Targets', TargetServer)
cmo.setServiceType ('Both')
Print ('Created ReliableWseeJaxwsSAFAgent_auto_ %s "% index)
If __name__ == "main":
main()
-
Application of JAX - RS not deployed when a part of the EAR
I have a WAR file that contains a JAX - RS application. In the stand-alone deployment, I can access different resources. When instead this WAR file is deployed as part of an EAR, and then the JAX - RS application is not recognized by WebLogic and none of the JAX - RS are available.
My JAX - RS application is very simple:
MyApplication.java
package company.rest; @ApplicationPath("/") public class MyApplication extends Application { @Override public Set<Class<?>> getClasses() { HashSet<Class<?>> classes = new HashSet<>(); classes.add(MyResource.class); return classes; } }
MyResource.java
package company.rest; @Path("/foo") public class MyResource { @Produces(MediaType.APPLICATION_JSON) @Path("/") public String list() { return "[1,2,3]"; } }
I have a weblogic.xml:
<weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app"> <context-root>my/api/1/rest</context-root> </weblogic-web-app>
Then application.xml for ear is empty.
(Incidentally, I don't understand why the weblogic.xml is necessary. I tried to put the path of the context everything in the @ApplicationPath of the MyApplication but who was honored not...)
When I deploy, I see in weblogic is that war MyApplication is deployed as a type of Web Application of 'Module' under the EAR. There is however no listed Web service. Also, if I click on the war MyApplication then look under surveillance, both tabs Web Applications and applications of JAX - RS show no entry.
What I am doing wrong?
In the greatest demand, I started to disable some wars / RPG are included in the ear and then he started to work identical to the minimal example. Somewhere, there is a conflict with the libraries in the ear / various wars, but I do not get any type of output in the paper, etc. It is not simply recognize the war as file containing resources of JAX - RS.
-
The unauthorized JAX - RPC web service client?
I try to call a 3rd web service part using a WSDL I can't control. I was unable to send requests by using a style JAX - WS client and errors have led me to believe that this was due to the WSDL using the RPC/Document model. Checks showed there is, in fact, the primitive methods of return base schema. My understanding is that I have to use a JAX - RPC client in this case.
JDev generated successfully objects, but I got whitelist errors that I have deployed in the cloud. Basically, any class that referred to java.rmi failed (as documented) - and that's almost all main objects for the customer.
Is there a way around this problem?
- Is there another method to generate JAX - RPC clients?
- The cloud is possible to accept the java.rmi. * classes?
- Is there a way to force the web services JAX - WS upset WSDL RPC/Document?
Thank you
Alex
I do not think that RPC is supported, see unsupported features and API which States:
Feature not supported Alternative Web services based on JAX - RPC.
Convert in JAX - WS web services.
Remote invocations with a transport protocol other than HTTPS (including the HTTP text).
Does not apply.
--
Jani Rautiainen
Relationship with the developers of Applications in fusion
-
JAX - ws with sqlj deploy not, but ok when removed?
I'm new to Jdeveloper (currently using 12.1.2.0.0) and I haven't used Java for some time. So I apologize if the question is stupid.
Because I have problems with the current project, I decided to write a very simple java jax - ws service the use of sqlj and make sure that it would work. JAX - ws compiles without error. It is only when you use GUI JDeveloper to test the web service when I am presented with the problem.
Please see ebelow the two very simple classes:
=============================== WebService class =============================
package sqlj.test3; import java.sql.SQLException; import javax.jws.WebMethod; import javax.jws.WebService; @WebService public class Test_Main { public Test_Main() { super(); } @WebMethod(action = "incrementNumber") public int incrementNumber( int i ) throws SQLException { FRE_Handler fre = null; int tmpReply = 0; try{ fre = new FRE_Handler(); tmpReply = fre.add1ToNumber( i ); } catch (SQLException e ) { System.out.println( "Error code: " + e.getErrorCode() + " Error msg: " + e.getMessage() ); String sqlState = e.getSQLState(); System.out.println( "SQL state: " + sqlState ); } finally { try { fre.getCtx().getConnection().close(); } catch( SQLException e ) { System.out.println( "Error code: " + e.getErrorCode() + " Error msg: " + e.getMessage() ); String sqlState = e.getSQLState(); System.out.println( "SQL state: " + sqlState ); } } return tmpReply; } }
======================================= sqlj class =========================
package sqlj.test3; import java.sql.DriverManager; import java.sql.SQLException; import sqlj.runtime.ref.DefaultContext; public class FRE_Handler { private DefaultContext ctx; public FRE_Handler() throws SQLException { super(); try{ // Create the DB Connection java.sql.Connection conn = DriverManager.getConnection( "jdbc:oracle:thin:@ORACLE-DB:1521:orcl", "USER", "PASSWORD" ); conn.setAutoCommit( true ); DefaultContext.setDefaultContext( new DefaultContext( conn ) ); ctx = DefaultContext.getDefaultContext(); } catch( SQLException e ) { System.out.println( "Error code: " + e.getErrorCode() + " Error msg: " + e.getMessage() ); String sqlState = e.getSQLState(); System.out.println( "SQL state: " + sqlState ); } } public int add1ToNumber( int i ) { return i + 1; } protected DefaultContext getCtx() { return ctx; } }
as mentioned above, the source code compiles without error, but when I do use the JDeveloper feature 'test the Web Service', I get the following erros:
=============================== error message ====================================
[Running the application on IntegratedWebLogicServer SQLJ_TEST_3...]
[16: 50:03] SQL_Test_3WebApp.war of Module Web recognized in the project SQL_Test_3.jpr
[16: 50:03]-deployment began. ----
[16: 50:03] the target platform's (Weblogic 12.x).
[16: 50:04] recovery of the existing application information
[16: 50:04] analysis of the dependence running...
[16: 50:04] deployment 2 profiles...
[16: 50:04] wrote on the Web for C:\Users\Dev\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee\drs\SQLJ_TEST_3\SQL_Test_3WebApp.war application Module
[16: 50:04] wrote the Module Enterprise Application to C:\Users\Dev\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee\drs\SQLJ_TEST_3
[16: 50:04] Application deployment...
< April 1, 2014 16:50:04 CEST > < WARNING > < Application customer > < BEA-2162200 > < no hand-class defined in the Java Module manifest file: empty.jar. This module will be treated as a utility JAR and subsequent initialization steps will be skipped. >
< April 1, 2014 16:50:06 CEST > < error > < com.sun.xml.ws.server.http > < BEA-000000 > < WSSERVLET11: impossible to analyze the length descriptor: A WebService annotation is not present on the class: sqlj.test3.FRE_Handler
com.sun.xml.ws.model.RuntimeModelerException: a WebService annotation is not present on the class: sqlj.test3.FRE_Handler
at com.sun.xml.ws.model.RuntimeModeler.getServiceName(RuntimeModeler.java:1528)
at com.sun.xml.ws.server.EndpointFactory.getDefaultServiceName(EndpointFactory.java:545)
at com.sun.xml.ws.server.EndpointFactory.getDefaultServiceName(EndpointFactory.java:527)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:272)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:179)
Truncated. check the log file full stacktrace
>
< April 1, 2014 16:50:06 CEST > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request of deployment with the ID "1396363804511" for "10" task Error is: ' weblogic.application.ModuleException: weblogic.management.DeploymentException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: impossible to analyze the length descriptor: a WebService annotation is not present on the class: sqlj.test3.FRE_Handler.
weblogic.application.ModuleException: weblogic.management.DeploymentException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: impossible to analyze the length descriptor: A WebService annotation is not present on the class: sqlj.test3.FRE_Handler
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:213)
to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:208)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
Truncated. check the log file full stacktrace
Caused by: weblogic.management.DeploymentException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: impossible to analyze the length descriptor: A WebService annotation is not present on the class: sqlj.test3.FRE_Handler
at weblogic.servlet.internal.WebAppServletContext.initContainerInitializer(WebAppServletContext.java:1342)
at weblogic.servlet.internal.WebAppServletContext.initContainerInitializers(WebAppServletContext.java:1276)
at weblogic.servlet.internal.WebAppServletContext.initContainerInitializers(WebAppServletContext.java:1262)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1779)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2807)
Truncated. check the log file full stacktrace
>
< April 1, 2014 16:50:06 CEST > < error > < hats > < BEA-149202 > < encountered an exception while trying to commit the 1 task for the application "SQLJ_TEST_3". >
< April 1, 2014 16:50:06 CEST > < WARNING > < hats > < BEA-149004 > < failures have been detected all introducing deploy the task for the application "SQLJ_TEST_3" >.
< April 1, 2014 16:50:06 CEST > < WARNING > < hats > < BEA-149078 > < message 149004 track battery
weblogic.application.ModuleException: weblogic.management.DeploymentException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: impossible to analyze the length descriptor: A WebService annotation is not present on the class: sqlj.test3.FRE_Handler
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:213)
to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:208)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
Truncated. check the log file full stacktrace
Caused by: weblogic.management.DeploymentException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: impossible to analyze the length descriptor: A WebService annotation is not present on the class: sqlj.test3.FRE_Handler
at weblogic.servlet.internal.WebAppServletContext.initContainerInitializer(WebAppServletContext.java:1342)
at weblogic.servlet.internal.WebAppServletContext.initContainerInitializers(WebAppServletContext.java:1276)
at weblogic.servlet.internal.WebAppServletContext.initContainerInitializers(WebAppServletContext.java:1262)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1779)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2807)
Truncated. check the log file full stacktrace
>
[16: 50:06] undeployment.
[16: 50:06] - incomplete deployment.
[16: 50:06] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
# Can't run application SQLJ_TEST_3 due to the deployment on IntegratedWebLogicServer error.
[16: 50:06] requested cancellation
[SQLJ_TEST_3 application stopped and cancelled IntegratedWebLogicServer]
If help or pointers in the right direction would be he really likes.
Thank you
The WSDL generator does not find the file source of class FRE_Handler.java.
Copy the class FRE_Handler.java of the C:\JDeveloper\mywork\Tutorials\webservice\Annotation\classes\annotation folder to the C:\JDeveloper\mywork\WebService\Annotation\src\annotation folder.
Maybe you are looking for
-
Portege R600 - BSOD with installed Dynadock U10
I have a Dynadock U10 (PA3575E-1PRP) connect my laptop R600 (PPR61E-00600CEN) to various USB devices and ethernet, a VGA to VGA monitor cable. All devices and monitor were previously connected to the laptop through its own ports, where everything wor
-
What graphics card is compatible with my presario sr1710nx pc.
What graphics card is compatible with my presario sr1710nx pc? The current one is dead and I get nothing on my screen and I tried to connect another monitor and still nothing. So I guess it is the graphics card.
-
Pair my devices via bluetooth, and no wireless on gen 4 apple tv?
I wanted to combine my apple tv by blueetooth because that would be faster than wireless. Especially for mirroring on the late... Thank you
-
Necessary hardware acceleration for MSTS Train Simulator
I got an error when starting Miicrosoft Train Simulator on Windows Server 2008 R2 Standard x 64 Edition that says Train Simulator requires hardware acceleration. My computer specs: Processor: Intel Pentium 4 640 3.2 GHz Hyper - Threading SES I, II an
-
32-bit to a 64-bit processor converter
I have an IBM Lenovo ThinkCentre with Win XP SP3 and a 32-bit processor, Pentium D. would be my computer support upgraded to a Pentium 4 processor to make 64 bit?