|
CPColin posted:don't ask the users of my company's website. nobody* pays enough for you care about user experience
|
# ? Aug 17, 2014 14:58 |
|
|
# ? May 16, 2024 13:28 |
|
gently caress your WebServices in their soapy rear end Shaggar. You lied to me, you told me cfx was the best, but it's been nothing but torture. Ok so cfx by itself is great, but the guy who thought WS-Security was a good idea should die a terrible death. I've got a WSDL that has this: XML code:
I've since tried switching to using the default Java WS tools to see if they are less picky about that but that's even more of a clusterfuck. Now to configure the keystore I have to create some dumbshit wsit-client.xml that just makes my eyes glaze over and wish for sweet death. Can anyone confirm if that wsp:Policy is incorrect so that I can stop banging my head against the wall?
|
# ? Aug 19, 2014 22:45 |
|
lol u believed shaggar
|
# ? Aug 20, 2014 20:55 |
|
Janitor Prime posted:gently caress your WebServices in their soapy rear end Shaggar. You lied to me, you told me cfx was the best, but it's been nothing but torture. Ok so cfx by itself is great, but the guy who thought WS-Security was a good idea should die a terrible death. I've never done ws-security in cxf. maybe take a look at this: http://concentricsky.com/blog/2012/dec/implementing-ws-security-cxf-wsdl-first-web-service (take a look at the "Configure the Client" section) If you are signing the body of your thing you will need a keystore that contains your private key. It looks like there are some properties to set that tell cxf where the keystore is, its password, and the alias/pw of the private key (if it has a pw). should be pretty easy. wcf is easier tho.
|
# ? Aug 20, 2014 21:16 |
|
Shaggar posted:I've never done ws-security in cxf. maybe take a look at this: http://concentricsky.com/blog/2012/dec/implementing-ws-security-cxf-wsdl-first-web-service (take a look at the "Configure the Client" section) I don't have the option of using wcf since our whole stack is RedHat/Java. That's the same guide I used to verify my setup after I started searching around for answers, so I'm confident I've setup all the keystore stuff in cxf. I really think the problem is in the WSDL but I can't for the life of me confirm if it's correct and the problem is on my side or if it's borked and I need to yell at the developer. In that guide if you notice the Complete Tutorial Binding Assertion has a section about sp:AsymmetricBinding which is missing in mine and cfx is bitching about it. I've tried adding it by hand but holy poo poo everything blew up after that. In desperation I tried to use Axis2 but LOL that library doesn't even know how to declare it's dependencies and I had to track down like 10 libs by hand. I've pretty much given up at this point and am just going to yell at them to use client certifcates with HTTPS to provide authentication for this whole thing and just drop the ws-security.
|
# ? Aug 20, 2014 23:40 |
|
please use TLS why would you willingly use a standard that requires xml normalization
|
# ? Aug 21, 2014 00:26 |
|
Janitor Prime posted:I don't have the option of using wcf since our whole stack is RedHat/Java. That's the same guide I used to verify my setup after I started searching around for answers, so I'm confident I've setup all the keystore stuff in cxf. yeah I think thats right. it probably needs to be wrapped in an assymetric policy assertion cause ur using your private key for signing. what are they using to generate the wsdl cause I would think if they set it up in cxf then cxf would generate the correct assertions
|
# ? Aug 21, 2014 00:29 |
|
i think i might apply for some computer classes at the local community college
|
# ? Aug 21, 2014 04:09 |
|
i check this thread to see if there are any other books to be recommended
|
# ? Aug 21, 2014 21:59 |
|
im readin this atm its excellent but also v slow going because i am a terrible mathematician as well as a terrible programmer. two years out of school and ive forgotten a shameful amount
|
# ? Aug 21, 2014 22:15 |
|
coffeetable posted:im readin this atm the only mooc really worth a drat was the machine learning one on coursera, i highly recommend it
|
# ? Aug 21, 2014 22:15 |
|
except not from Andrew "Smug as gently caress" Ng
|
# ? Aug 21, 2014 22:17 |
|
coffeetable posted:im readin this atm a good book Share Bear posted:the only mooc really worth a drat was the machine learning one on coursera, i highly recommend it geoff hintons + prob graphical models are good too thats about it o udacity's graphics one is gr8
|
# ? Aug 21, 2014 22:27 |
|
Share Bear posted:the only mooc really worth a drat was the machine learning one on coursera, i highly recommend it e: it's totally understandable from an accessibility standpoint, but not what i was wanting
|
# ? Aug 21, 2014 22:31 |
|
Share Bear posted:the only mooc really worth a drat was the machine learning one on coursera, i highly recommend it there was one on i think volcanoes that was pretty good and some astronomy ones that were worth watching
|
# ? Aug 21, 2014 23:00 |
|
fritz posted:there was one on i think volcanoes that was pretty good and some astronomy ones that were worth watching The security one by Dan Boneh was pretty good too
|
# ? Aug 21, 2014 23:08 |
|
Share Bear posted:the only mooc really worth a drat no more racism in yospos
|
# ? Aug 23, 2014 01:26 |
|
asp.net, MVC. so in the eve online data set I have a class InvTypes that i'm looking up objects of. there are objects containing data associated with a particular InvTypes object in another table, DgmTypeAttributes, with a many-to-one relation of TypeAttributes to InvTypes. InvTypes does not reference DgmTypeAttributes. so to show the complete data associated with an InvTypes object, I need to also display DgmTypeAttributes data in my view. if I'm officially going by InvTypes in my controller, what's the correct way to send both models' data to the view? there are a couple of ways i've found (encapsulation or sticking it in viewdata) but i'm not sure which is canon.
|
# ? Aug 25, 2014 23:08 |
|
make a viewmodel and put your poo poo in there and send it to the view
|
# ? Aug 25, 2014 23:10 |
|
if theres foreign keys can't you do invtype.DgmTypeAttributes if you can't then you need to fix asp.net mvc or your db
|
# ? Aug 26, 2014 00:27 |
|
Bloody posted:make a viewmodel and put your poo poo in there and send it to the view of course now i have to fix it truncating the names Squinty Applebottom posted:if theres foreign keys can't you do invtype.DgmTypeAttributes other way round, it's one-to-many. i can look up an invtype from dgmtypeattributes.
|
# ? Aug 26, 2014 00:40 |
|
this feels weird and wrong to me:code:
|
# ? Aug 26, 2014 17:50 |
|
prefect posted:this feels weird and wrong to me: it's just what you're used to seeing, that's preferable because once you get in the habit you'll avoid accidentally using = instead of == because you can't assign to true/false unless you're saying it should be code:
|
# ? Aug 26, 2014 18:02 |
|
Werthog 95 posted:unless you're saying it should be that's exactly what i would expect it to be
|
# ? Aug 26, 2014 18:09 |
|
prefect posted:that's exactly what i would expect it to be if you're in a poo poo language sometimes you can use true != x to coerce a value to a bool
|
# ? Aug 26, 2014 18:10 |
|
AlsoD posted:if you're in a poo poo language sometimes you can use true != x to coerce a value to a bool lol if you dont sprinkle !! liberally
|
# ? Aug 26, 2014 18:11 |
|
prefect posted:that's exactly what i would expect it to be i think it's some kind of cargo cult thing where people who've just started reading about coding conventions get it into their head that "more verbosity == better than" i know i went through that phase
|
# ? Aug 26, 2014 18:32 |
|
hullo whats the best practicest place to put your mybatis config? also how do you deal with development vs. deployment configs? i am using maven and i dont know jack about anything
|
# ? Aug 27, 2014 17:38 |
|
Shinku ABOOKEN posted:hullo i think (think) you might want maven's build profiles: http://maven.apache.org/guides/introduction/introduction-to-profiles.html but i'm not very familiar with them, so that might be a bad idea
|
# ? Aug 27, 2014 17:40 |
|
Shinku ABOOKEN posted:hullo there are a couple ways to do it, but i generally create a resource entry in maven that points at a folder with an environmental variable name. XML code:
XML code:
then in your spring config you have something like this XML code:
also, I like to put my mybatis stuff in its own separate maven project w/ mappers + configs and then load those configs in the consuming package like XML code:
|
# ? Aug 27, 2014 19:41 |
|
Shaggar posted:[good stuff] neat. thanks shaggar!
|
# ? Aug 27, 2014 19:56 |
|
some people will get mad about doing profiles by environment cause they don't think they should be used that way, but the only other way to do it would be to store the configuration in the destination server which means ops people which means it will be hosed up.
|
# ? Aug 27, 2014 19:59 |
|
how small of an increase would i get if i made variables global and didn't use any parameters in my functions
|
# ? Aug 29, 2014 02:52 |
|
an increase in SPEED
|
# ? Aug 29, 2014 02:52 |
|
depends, but effectively nothing
|
# ? Aug 29, 2014 03:15 |
|
itll probably gently caress with locality since the code youre executing wont be near the data it is executing on but yeah no one will ever notice op
|
# ? Aug 29, 2014 03:17 |
|
FamDav posted:lol if you dont sprinkle !! liberally we found a triple bang the other day. spent a long time making fun of it until a guy checked the history and realized it was him
|
# ? Aug 29, 2014 03:20 |
|
MALE SHOEGAZE posted:we found a triple bang the other day. spent a long time making fun of it until a guy checked the history and realized it was him gave ur mum the old triple bang the other night iykwim
|
# ? Aug 29, 2014 03:38 |
|
FamDav posted:itll probably gently caress with locality since the code youre executing wont be near the data it is executing on icache and dcache are separate though????
|
# ? Aug 29, 2014 08:36 |
|
|
# ? May 16, 2024 13:28 |
|
BONGHITZ posted:how small of an increase would i get if i made variables global and didn't use any parameters in my functions
|
# ? Aug 29, 2014 10:28 |